Package com.inmobi.ads.rendering
Class CloseButtonHandler
-
- All Implemented Interfaces:
public final class CloseButtonHandlerHandles the close button functionality for ads.
-
-
Constructor Summary
Constructors Constructor Description CloseButtonHandler(RenderView renderView, Boolean showCloseButton, Boolean showCloseRegion, InMobiLogger logger)
-
Method Summary
Modifier and Type Method Description final Unithandle(WindowInsetsHandler.FinalInsets.Insets insets)Handles the display and removal of the close button and close region based on the configuration. final UnitupdateMargins(WindowInsetsHandler.FinalInsets.Insets insets)-
-
Constructor Detail
-
CloseButtonHandler
CloseButtonHandler(RenderView renderView, Boolean showCloseButton, Boolean showCloseRegion, InMobiLogger logger)
-
-
Method Detail
-
handle
final Unit handle(WindowInsetsHandler.FinalInsets.Insets insets)
Handles the display and removal of the close button and close region based on the configuration.
-
updateMargins
final Unit updateMargins(WindowInsetsHandler.FinalInsets.Insets insets)
-
-
-
-