-
public interface HyprMXBannerListenerListener for common load and interaction events
-
-
Method Summary
Modifier and Type Method Description abstract UnitonAdLoaded(HyprMXBannerView ad)The ad has successfully been loaded abstract UnitonAdFailedToLoad(HyprMXBannerView ad, HyprMXErrors error)The ad failed to load abstract UnitonAdClicked(HyprMXBannerView ad)A click event has occurred on the banner abstract UnitonAdOpened(HyprMXBannerView ad)The click event on the banner has transition to an overlay abstract UnitonAdClosed(HyprMXBannerView ad)The opened overlay has been dismissed abstract UnitonAdLeftApplication(HyprMXBannerView ad)The click event on the banner will open a third party application to process the click -
-
Method Detail
-
onAdLoaded
abstract Unit onAdLoaded(HyprMXBannerView ad)
The ad has successfully been loaded
-
onAdFailedToLoad
abstract Unit onAdFailedToLoad(HyprMXBannerView ad, HyprMXErrors error)
The ad failed to load
- Parameters:
ad- The HyprMXBannerView that loaded the aderror- Error indicating why the ad failed to load
-
onAdClicked
abstract Unit onAdClicked(HyprMXBannerView ad)
A click event has occurred on the banner
- Parameters:
ad- The HyprMXBannerView that had the click event
-
onAdOpened
abstract Unit onAdOpened(HyprMXBannerView ad)
The click event on the banner has transition to an overlay
- Parameters:
ad- The HyprMXBannerView that had the click event
-
onAdClosed
abstract Unit onAdClosed(HyprMXBannerView ad)
The opened overlay has been dismissed
- Parameters:
ad- The HyprMXBannerView that triggered the overlay
-
onAdLeftApplication
abstract Unit onAdLeftApplication(HyprMXBannerView ad)
The click event on the banner will open a third party application to process the click
- Parameters:
ad- The HyprMXBannerView that had the click event
-
-
-
-