AdPlayer
interface AdPlayer
AdPlayer is an interface that describes the functionality of our media player and should be extended to create an SDK-compatible ad player.
Types
Properties
Link copied to clipboard
Cache assets hint - the AdPlayer may or may not implement this AdManager hint.
Link copied to clipboard
Enqueue enabled hint - the AdPlayer may or may not implement this AdManager hint.
Link copied to clipboard
Is buffering while paused
Link copied to clipboard
Player capabilities as described in the VAST 4.0 document
Link copied to clipboard
Functions
Link copied to clipboard
Adds an AdPlayer.Listener callback.
Link copied to clipboard
Removes a surface previously set to render the video content.
Link copied to clipboard
Gets the current time.
Link copied to clipboard
Gets the duration.
Link copied to clipboard
Removes an AdPlayer.Listener callback.
Link copied to clipboard
Skips the current ad.
Link copied to clipboard
Sets the video view state for viewability purposes.
Link copied to clipboard
Sets a surface to render the video content.
Link copied to clipboard
Status