MediaButtonsViewModel

fun MediaButtonsViewModel(mediaControlContext: MediaControlContext, mediaButtonsConfiguration: LiveData<MediaButtonsConfiguration>)

Parameters

mediaControlContext

Provides access to contextual information for MediaControls.

mediaButtonsConfiguration

Provides configuration of standard and custom media controls, and their display limits.