forceStart
abstract suspend fun forceStart(playbackParameters: PlaybackState.PlaybackParameters, restartIfStarted: Boolean = false)
Suspends until playback has started.
Parameters
playbackParameters
the PlaybackState.PlaybackParameters to play with
restartIfStarted
if true
this will ensure that playback starts at Duration.ZERO
Throws
if something went wrong when attempting to start playback