media
/
com.google.android.horologist.media.model
/
PlayerState
Player
State
enum
PlayerState
:
Enum
<
PlayerState
>
Content copied to clipboard
Represents the state of the player.
Entries
Properties
Entries
Ended
Link copied to clipboard
Ended
()
Content copied to clipboard
The player has finished playing the media.
Playing
Link copied to clipboard
Playing
()
Content copied to clipboard
The player is playing.
Ready
Link copied to clipboard
Ready
()
Content copied to clipboard
The player is able to immediately play from its current position.
Loading
Link copied to clipboard
Loading
()
Content 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
Idle
()
Content copied to clipboard
The player is idle, meaning it holds only limited resources.
Properties
name
Link copied to clipboard
val
name
:
String
Content copied to clipboard
ordinal
Link copied to clipboard
val
ordinal
:
Int
Content copied to clipboard