PlayerState

enum PlayerState : Enum<PlayerState>

Represents the state of the player.

Entries

Ended
Link copied to clipboard
The player has finished playing the media.
Playing
Link copied to clipboard
The player is playing.
Ready
Link copied to clipboard
The player is able to immediately play from its current position.
Loading
Link copied to clipboard
The player is not able to immediately play the media, but is doing work toward being able to do so.
Idle
Link copied to clipboard
The player is idle, meaning it holds only limited resources.

Properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int