Package com.pubmatic.sdk.nativead
Interface POBNativeAdManager.POBNativeAdManagerListener
-
- All Implemented Interfaces:
@MainThread() public interface POBNativeAdManager.POBNativeAdManagerListener
Interface to definition to notify Native Ad load events. Guaranteed to occur on the main thread.
-
-
Method Summary
Modifier and Type Method Description abstract voidonAdReceived(@NonNull() POBNativeAdManager adManager, @NonNull() POBNativeAd nativeAd)Notifies the callback that an Native Ad has been successfully loaded. abstract voidonFailedToLoad(@NonNull() POBNativeAdManager adManager, @NonNull() POBError error)Notifies the callback of an error encountered while loading an adManager. -
-
Method Detail
-
onAdReceived
abstract void onAdReceived(@NonNull() POBNativeAdManager adManager, @NonNull() POBNativeAd nativeAd)
Notifies the callback that an Native Ad has been successfully loaded.
- Parameters:
adManager- Instance of POBNativeAdManager over which native ad is loadednativeAd- the newly loaded instance of POBNativeAd
-
onFailedToLoad
abstract void onFailedToLoad(@NonNull() POBNativeAdManager adManager, @NonNull() POBError error)
Notifies the callback of an error encountered while loading an adManager.
- Parameters:
adManager- Instance of POBNativeAdManager over which native adManager is loadederror- The error encountered while attempting to load the native ad.
-
-
-
-