MediaSession2.BroadcastSessionCommand(Session2Command, Bundle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Broadcasts a session command to all the connected controllers
[Android.Runtime.Register("broadcastSessionCommand", "(Landroid/media/Session2Command;Landroid/os/Bundle;)V", "GetBroadcastSessionCommand_Landroid_media_Session2Command_Landroid_os_Bundle_Handler", ApiSince=29)]
public virtual void BroadcastSessionCommand (Android.Media.Session2Command command, Android.OS.Bundle? args);
[<Android.Runtime.Register("broadcastSessionCommand", "(Landroid/media/Session2Command;Landroid/os/Bundle;)V", "GetBroadcastSessionCommand_Landroid_media_Session2Command_Landroid_os_Bundle_Handler", ApiSince=29)>]
abstract member BroadcastSessionCommand : Android.Media.Session2Command * Android.OS.Bundle -> unit
override this.BroadcastSessionCommand : Android.Media.Session2Command * Android.OS.Bundle -> unit
Parameters
- command
- Session2Command
the session command
- args
- Bundle
optional arguments
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.