Aracılığıyla paylaş


MediaSession2.BroadcastSessionCommand(Session2Command, Bundle) Method

Definition

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

Java documentation for android.media.MediaSession2.broadcastSessionCommand(android.media.Session2Command, android.os.Bundle).

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.

Applies to