InstreamAd.InstreamAdLoadCallback

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)
Called when an instream ad request failed.
void
onInstreamAdLoaded(InstreamAd ad)
Called when an instream ad successfully loads.

Inherited Method Summary

Public Constructors

public InstreamAd.InstreamAdLoadCallback ()

Public Methods

public void onInstreamAdFailedToLoad (int errorCode)

Called when an instream ad request failed. The error code is usually ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_INVALID_REQUEST, ERROR_CODE_NETWORK_ERROR, or ERROR_CODE_NO_FILL.

public void onInstreamAdLoaded (InstreamAd ad)

Called when an instream ad successfully loads.

Parameters
ad the loaded instream ad.