createControlFor

abstract fun createControlFor(mediaControlContext: MediaControlContext): MediaControl

Creates a MediaControl for the given mediaControlContext. The context can be used to determine any of the properties of a MediaControl, or when the control is launched.

Actual use of the information provided by mediaControlContext is not mandatory.