PlaybackStateMapper
class PlaybackStateMapper(timestampProvider: TimestampProvider = TimestampProvider { SystemClock.elapsedRealtime() })
Maps a Media3 player position into a PlaybackState.
Constructors
Link copied to clipboard
constructor(timestampProvider: TimestampProvider = TimestampProvider { SystemClock.elapsedRealtime() })
Functions
Link copied to clipboard
fun createEvent(player: Player?, cause: PlaybackStateEvent.Cause, seekProjection: Duration? = null): PlaybackStateEvent