@MainThread
public static class POBBannerView.POBBannerViewListener
extends java.lang.Object
| Constructor and Description |
|---|
POBBannerViewListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAdClicked(POBBannerView view)
Notifies that the user has clicked the ad view.
|
void |
onAdClosed(POBBannerView view)
Notifies that the banner view has closed the ad on top of the current view.
|
void |
onAdFailed(POBBannerView view,
com.pubmatic.sdk.common.POBError error)
Notifies the listener of an error encountered while loading or rendering an ad.
|
void |
onAdOpened(POBBannerView view)
Notifies listener that the banner view has open the ad on top of the current
view/screen, as a result of user interaction.
|
void |
onAdReceived(POBBannerView view)
Notifies the listener that an ad has been successfully loaded and rendered.
|
void |
onAppLeaving(POBBannerView view)
Notifies the listener whenever current app goes in the background due to user click.
|
public void onAdReceived(@NonNull
POBBannerView view)
view - The POBBannerView instance invoking this method.public void onAdFailed(@NonNull
POBBannerView view,
@NonNull
com.pubmatic.sdk.common.POBError error)
view - The POBBannerView instance invoking this method.error - The error encountered while attempting to receive or render the ad.public void onAppLeaving(@NonNull
POBBannerView view)
view - The POBBannerView instance invoking this method.public void onAdOpened(@NonNull
POBBannerView view)
view - The POBBannerView instance invoking this method.public void onAdClosed(@NonNull
POBBannerView view)
view - The POBBannerView instance invoking this method.public void onAdClicked(@NonNull
POBBannerView view)
view - The POBBannerView instance invoking this method.