Package-level declarations

Types

Link copied to clipboard
class AudioTrack(group: Tracks.Group, groupIndex: Int, trackIndexInGroup: Int) : Track

Represent an audio track.

Link copied to clipboard
class TextTrack(group: Tracks.Group, groupIndex: Int, trackIndexInGroup: Int) : Track

Represent a text track.

Link copied to clipboard
sealed class Track

Generic wrapper a of track.

Link copied to clipboard
class VideoTrack(group: Tracks.Group, groupIndex: Int, trackIndexInGroup: Int) : Track

Represent a video track.

Properties

Link copied to clipboard

All the supported audio tracks for the currently played MediaItem.

Link copied to clipboard

All the supported text tracks for the currently played MediaItem.

Link copied to clipboard

All the supported tracks for the currently played MediaItem.

Link copied to clipboard

All the supported video tracks for the currently played MediaItem.

Functions

Link copied to clipboard

Disable the audio track.

Link copied to clipboard

Disable the text track.

Link copied to clipboard

Disable the video track.

Link copied to clipboard

Enable the audio track.

Link copied to clipboard

Enable the text track.

Link copied to clipboard

Enable the video track.

Link copied to clipboard

Select the provided track.

Link copied to clipboard

Restore the default audio track.

Link copied to clipboard

Restore the default text track.

Link copied to clipboard

Restore the default video track.