PlayerUiStateMapper
object PlayerUiStateMapper
Map PlayerState, Command plus other set of properties into a PlayerUiState.
Functions
Link copied to clipboard
fun map(currentState: PlayerState, availableCommands: Set<Command>, media: Media?, playbackStateEvent: PlaybackStateEvent, shuffleModeEnabled: Boolean, connected: Boolean, seekBackIncrement: Duration?, seekForwardIncrement: Duration?): PlayerUiState