AdsManagerLoadedEvent

public interface AdsManagerLoadedEvent

An event raised when ads are successfully loaded from the ad server via an AdsLoader. This event can be registered on the AdsLoader.

Public Method Summary

abstract AdsManager
getAdsManager()
Returns the ads manager that will control playback of the loaded ads, or null when using dynamic ad insertion.
abstract StreamManager
getStreamManager()
Returns the stream manager for the current dynamic ad insertion stream, or null when requesting ads directly.
abstract Object
getUserRequestContext()
Returns the user-provided object that is associated with the ads request.

Public Methods

public abstract AdsManager getAdsManager ()

Returns the ads manager that will control playback of the loaded ads, or null when using dynamic ad insertion.

public abstract StreamManager getStreamManager ()

Returns the stream manager for the current dynamic ad insertion stream, or null when requesting ads directly.

public abstract Object getUserRequestContext ()

Returns the user-provided object that is associated with the ads request. During ad loading request, it is possible to provide an object that is available once the ads load is complete or fails. This should be provided using AdsRequest.setUserRequestContext at ad request time.

Send feedback about...

IMA SDK for Android
Need help? Visit our support page.