public static interface NativeAd.NativeAdListener
| Modifier and Type | Method and Description |
|---|---|
void |
onClick(NativeAd ad)
Calls when user clicks on ad creative
|
void |
onLoad(NativePromoBanner banner,
NativeAd ad)
Calls if the data is loaded successfully.
|
void |
onNoAd(java.lang.String reason,
NativeAd ad)
Calls if no data received
|
void |
onShow(NativeAd ad)
Calls when ad appears on screen
|
void |
onVideoComplete(NativeAd ad)
Calls when video inside banner completes playing
|
void |
onVideoPause(NativeAd ad)
Calls when video inside banner paused
|
void |
onVideoPlay(NativeAd ad)
Calls when video inside banner starts playing
|
void onLoad(@NonNull
NativePromoBanner banner,
@NonNull
NativeAd ad)
banner - banner modelad - current instanceNativePromoBannervoid onNoAd(@NonNull
java.lang.String reason,
@NonNull
NativeAd ad)
reason - reason for not receiving adad - current instancevoid onClick(@NonNull
NativeAd ad)
ad - current instancevoid onShow(@NonNull
NativeAd ad)
ad - current instancevoid onVideoPlay(@NonNull
NativeAd ad)
ad - current instancevoid onVideoPause(@NonNull
NativeAd ad)
ad - current instancevoid onVideoComplete(@NonNull
NativeAd ad)
ad - current instance