public interface IShowAdListener
ShowAdPlacementContent.show(Activity, IShowAdListener) method.
Can be used to know when an ad has started or finished.
A convenience class of ShowAdListenerAdapter can be used when only one method needs overriding.| Modifier and Type | Method and Description |
|---|---|
void |
onAdFinished(java.lang.String placementId,
UnityAds.FinishState withState)
Called when the ad has finished.
|
void |
onAdStarted(java.lang.String placementId)
Notifies that the ad for the given placement has started.
|
void onAdFinished(java.lang.String placementId,
UnityAds.FinishState withState)
placementId - Placement ID as configured in the Unity Ads dashboard.withState - The state which the Ad has finished with.void onAdStarted(java.lang.String placementId)
placementId - Placement ID as configured in the Unity Ads dashboard.