PlayerUiState

constructor(playEnabled: Boolean, pauseEnabled: Boolean, seekBackEnabled: Boolean, seekForwardEnabled: Boolean, seekInCurrentMediaItemEnabled: Boolean, seekToPreviousEnabled: Boolean, seekToNextEnabled: Boolean, shuffleEnabled: Boolean, shuffleOn: Boolean, playPauseEnabled: Boolean, playing: Boolean, media: MediaUiModel?, trackPositionUiModel: TrackPositionUiModel, seekBackButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, seekForwardButtonIncrement: SeekButtonIncrement = SeekButtonIncrement.Unknown, connected: Boolean)

Parameters

playEnabled

whether PlayButton is enabled

pauseEnabled

whether PauseButton is enabled

seekBackEnabled

whether SeekBackButton button is enabled

seekForwardEnabled

whether SeekForwardButton button is enabled

seekToPreviousEnabled

whether SeekToPreviousButton is enabled

seekToNextEnabled

whether SeekToNextButton is enabled

shuffleEnabled

whether ShuffleToggleButton is enabled

shuffleOn

whether ShuffleToggleButton should display a shuffle on icon

playPauseEnabled

whether PlayPauseButton is enabled

playing

whether PlayPauseButton should display the play or pause button

media

current MediaUiModel

seekBackButtonIncrement

increment when seeking back.

seekForwardButtonIncrement

increment when seeking forward.

connected

is the player screen connected.