Package-level declarations
Properties
Chapters
Credits
Display name
Is audio track disabled
Is text track disabled
Is video track disabled
Rational One with a Rationale set to 1/1.
Video size of the format. VideoSize.UNKNOWN if no video size provided.
Functions
Can get details of the current track selection.
Can start, pause or resume playback.
Can seek anywhere into the current MediaItem.
Can seek back by a fixed increment into the current MediaItem.
Can seek back by a fixed increment into the current MediaItem.
Can seek to a later position in the current or next MediaItem.
Can seek to an earlier position in the current or previous MediaItem.
set the player's track selection parameters.
Can set the playback speed and pitch.
Compute the aspect ratio, return null
if the aspect ratio can't be computed.
Contains image track
Current position percent
Default audio track parameters.
Default text track parameters.
Default video track parameters.
Disable audio track
Disable text track
Disable video track
Enable audio track.
Enable text track.
Enable video track.
Get the chapter at position.
Get the credit at position.
Get a snapshot of the current media items
Returns a locale for the specified IETF BCP 47 Format.language tag string.
Get overrides for track type
Get playback speed
Has accessibility roles
Check if Format.roleFlags contains role
Check if Format.selectionFlags contains selection
Has track override
Is at live edge
Role flags as string
Selection flags as string
Sets the MediaMetadata.chapters. Calling MediaMetadata.Builder.setExtras after will reset this call.
Sets the MediaMetadata.credits Calling MediaMetadata.Builder.setExtras after will reset this call.
Handle audio focus with the currently set AudioAttributes.
Set preferred audio role flags to accessibility manager settings.
Set track override.
Set track selection override
Convert VideoSize to Rational that is useful for picture in picture