asMediaPlaybackParameters

fun MediaServiceApi.asMediaPlaybackParameters(mediaConfiguration: MediaConfiguration): MediaPlaybackParameters

Use a MediaServiceApi to obtain the MediaPlaybackParameters necessary for a MediaPlaybackViewModel.