Properties
setHandlerForComponent
setHandlerForComponent:Assigns a handler to process requests for media control actions for a given component.(handler:IMediaControlHandlerAsync, instance: IComponentInstance) => void
Parameters
handler
IMediaControlHandlerAsync An instance of theIMediaControlHandlerAsync interface that
manages media control actions.
instance
IComponentInstance
An instance of the IComponentInstance interface representing
the component for which the handler is being set.
updateMediaSessionStates
updateMediaSessionStates:Updates the state of the media sessions.(states:MediaSessionState[]) => void
Parameters
states
MediaSessionState[]
Array of MediaSessionStates containing
updated session states.
