- Enclosing class:
public static interface PMNativeAd.NativeRequestListener
An interface to notify the native ad request callbacks
|Modifier and Type||Method and Description|
void onNativeAdReceived(PMNativeAd ad)
Callback when the native ad is received.
void onNativeAdFailed(PMNativeAd ad, PMError error)
Callback when PMNativeAd fails to get an ad. This may be due to invalid zone, network connection not available, timeout, no Ad to fill at this point.
ad- PMNativeAd object which has requested for the Ad.
error- Error occurred.
void onNativeAdClicked(PMNativeAd ad)
Callback when the user clicks on the native ad. Implement your logic on view click in this method.
Do not implement your own clickListener in your activity.