@MainThread
public interface POBNativeAdLoaderListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAdReceived(POBNativeAdLoader adLoader,
POBNativeAd nativeAd)
Notifies the callback that an ad has been successfully loaded.
|
void |
onFailedToLoad(POBNativeAdLoader adLoader,
POBError error)
Notifies the callback of an error encountered while loading an ad.
|
void onAdReceived(@NonNull
POBNativeAdLoader adLoader,
@NonNull
POBNativeAd nativeAd)
adLoader - Instance of POBNativeAdLoader over which ad is loadednativeAd - Instance of POBNativeAdvoid onFailedToLoad(@NonNull
POBNativeAdLoader adLoader,
@NonNull
POBError error)
adLoader - Instance of POBNativeAdLoader over which ad is loadederror - The error encountered while attempting to receive the ad.