@MainThread
public static interface POBNativeAdManager.POBNativeAdManagerListener
Modifier and Type | Method and Description |
---|---|
void |
onAdReceived(POBNativeAdManager adManager,
POBNativeAd nativeAd)
Notifies the callback that an Native Ad has been successfully loaded.
|
void |
onFailedToLoad(POBNativeAdManager adManager,
POBError error)
Notifies the callback of an error encountered while loading an adManager.
|
void onAdReceived(@NonNull POBNativeAdManager adManager, @NonNull POBNativeAd nativeAd)
adManager
- Instance of POBNativeAdManager over which native ad is loadednativeAd
- the newly loaded instance of POBNativeAdvoid onFailedToLoad(@NonNull POBNativeAdManager adManager, @NonNull POBError error)
adManager
- Instance of POBNativeAdManager over which native adManager is loadederror
- The error encountered while attempting to load the native ad.