public interface IUnityBannerListener
| Modifier and Type | Method and Description |
|---|---|
void |
onUnityBannerClick(java.lang.String placementId)
Called when the banner is clicked.
|
void |
onUnityBannerError(java.lang.String message)
Called when an error is shown showing the banner.
|
void |
onUnityBannerHide(java.lang.String placementId)
Called when the banner is hidden.
|
void |
onUnityBannerLoaded(java.lang.String placementId,
android.view.View view)
Called when the unity banner is finished loading an ad.
|
void |
onUnityBannerShow(java.lang.String placementId)
Called when the banner is shown the first time and visible to the user.
|
void |
onUnityBannerUnloaded(java.lang.String placementId)
Called when the unity banner is unloaded and references to its view should be removed.
|
void onUnityBannerLoaded(java.lang.String placementId,
android.view.View view)
placementId - The placement ID of the banner loaded, as defined in the Unity Ads Dashboard.view - A reference to the banner that should be inserted into the view hierarchyvoid onUnityBannerUnloaded(java.lang.String placementId)
placementId - The placement ID of the banner unloaded, as defined in the Unity Ads Dashboard.void onUnityBannerShow(java.lang.String placementId)
placementId - The placement ID of the banner shown, as defined in the Unity Ads Dashboard.void onUnityBannerClick(java.lang.String placementId)
placementId - The placement ID of the banner clicked, as defined in the Unity Ads Dashboard.void onUnityBannerHide(java.lang.String placementId)
placementId - The placement ID of the banner hidden, as defined in the Unity Ads Dashboard.void onUnityBannerError(java.lang.String message)
message - A generic error that should be logged to the console.