AdsManagerLoadedEvent

public interface AdsManagerLoadedEvent


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

Summary

Public methods

abstract AdsManager

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

abstract StreamManager

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

abstract Object

Returns the user-provided object that is associated with the ads request.

Public methods

getAdsManager

abstract AdsManager getAdsManager()

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

getStreamManager

abstract StreamManager getStreamManager()

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

getUserRequestContext

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.