Listener
interface Listener
Interface definition to listen for player states.
Functions
Link copied to clipboard
Invoked when the player is preparing a MediaSource and the surface should be set.
Link copied to clipboard
Invoked when the [RenderView] associated with the playback should be hidden.
Link copied to clipboard
Invoked when a new MediaItem is played.
Link copied to clipboard
Callback invoked when the player has been initialized.
Link copied to clipboard
Invoked when the player is destroyed.
Link copied to clipboard
Invoked when the player will be created.
Link copied to clipboard
Invoked when the @{link RenderView} associated with the playback should be visible.
Link copied to clipboard
Called before a frame is rendered for the first time since setting the surface, and each time there's a change in the size or pixel aspect ratio of the video being rendered.