Android Verizon Ads SDK Standard Edition Documentation  1.8
Public Member Functions | List of all members
NativeAdFactory.NativeAdFactoryListener Interface Reference

Interface for receiving notifications from the NativeAdFactory. More...

Public Member Functions

void onError (NativeAdFactory adFactory, ErrorInfo errorInfo)
 Called when there is an error requesting a NativeAd or loading a NativeAd from the cache. More...
 
void onLoaded (NativeAdFactory adFactory, NativeAd nativeAd)
 Called when the components for the NativeAd have been loaded. More...
 

Detailed Description

Interface for receiving notifications from the NativeAdFactory.

Member Function Documentation

◆ onError()

void onError ( NativeAdFactory  adFactory,
ErrorInfo  errorInfo 
)

Called when there is an error requesting a NativeAd or loading a NativeAd from the cache.

Parameters
adFactorythe calling NativeAdFactory
errorInfoan ErrorInfo object containing details about the error

◆ onLoaded()

void onLoaded ( NativeAdFactory  adFactory,
NativeAd  nativeAd 
)

Called when the components for the NativeAd have been loaded.

A new NativeAd instance will be provided as part of this callback.

Parameters
adFactorythe calling NativeAdFactory
nativeAdthe NativeAd object that is ready to be displayed