Class NativeLandingPageHandler
-
- All Implemented Interfaces:
public final class NativeLandingPageHandlerThis class handles click events on the views in the publisher view.
-
-
Constructor Summary
Constructors Constructor Description NativeLandingPageHandler(NativeLandingPageModel landingPageModel)
-
Method Summary
Modifier and Type Method Description final UnithandleNativeAssetClickUrl(String url, String fallbackUrl)Handles click events on native ad assets with URL redirection. final UnittakeAction()Triggers the landing page action for lock screen ads. -
-
Constructor Detail
-
NativeLandingPageHandler
NativeLandingPageHandler(NativeLandingPageModel landingPageModel)
-
-
Method Detail
-
handleNativeAssetClickUrl
final Unit handleNativeAssetClickUrl(String url, String fallbackUrl)
Handles click events on native ad assets with URL redirection. This method processes the click URL and optional fallback URL.
- Parameters:
url- The primary URL to navigate to when the asset is clicked.fallbackUrl- The fallback URL to use if the primary URL fails.
-
takeAction
final Unit takeAction()
Triggers the landing page action for lock screen ads. This method is called when the lock screen ad is clicked and the device is unlocked.
-
-
-
-