public static abstract class InstreamAd.InstreamAdLoadCallback extends Object
An object for receiving event notifications of loading an instream ad.
Public Constructor Summary
Public Method Summary
void |
onInstreamAdFailedToLoad(int errorCode)
This method is deprecated. Use
onInstreamAdFailedToLoad(LoadAdError) instead.
|
void | |
void |
Inherited Method Summary
Public Constructors
public InstreamAdLoadCallback ()
Public Methods
public void onInstreamAdFailedToLoad (int errorCode)
This method is deprecated.
Use
onInstreamAdFailedToLoad(LoadAdError)
instead.
Called when an instream ad request failed. The error code is one of the error code
constants defined in AdRequest
.
public void onInstreamAdFailedToLoad (LoadAdError adError)
Called when an instream ad request failed.
Parameters
adError | LoadAdError
detailing the cause of the failure. AdError.getCode()
is one of the error code constants defined in AdRequest . |
---|
public void onInstreamAdLoaded (InstreamAd ad)
Called when an instream ad successfully loads.
Parameters
ad | the loaded instream ad. |
---|