Freigeben über


MediaSession2.SessionCallback.OnCommandResult Method

Definition

[Android.Runtime.Register("onCommandResult", "(Landroid/media/MediaSession2;Landroid/media/MediaSession2$ControllerInfo;Ljava/lang/Object;Landroid/media/Session2Command;Landroid/media/Session2Command$Result;)V", "GetOnCommandResult_Landroid_media_MediaSession2_Landroid_media_MediaSession2_ControllerInfo_Ljava_lang_Object_Landroid_media_Session2Command_Landroid_media_Session2Command_Result_Handler", ApiSince=29)]
public virtual void OnCommandResult (Android.Media.MediaSession2 session, Android.Media.MediaSession2.ControllerInfo controller, Java.Lang.Object token, Android.Media.Session2Command command, Android.Media.Session2Command.Result result);
[<Android.Runtime.Register("onCommandResult", "(Landroid/media/MediaSession2;Landroid/media/MediaSession2$ControllerInfo;Ljava/lang/Object;Landroid/media/Session2Command;Landroid/media/Session2Command$Result;)V", "GetOnCommandResult_Landroid_media_MediaSession2_Landroid_media_MediaSession2_ControllerInfo_Ljava_lang_Object_Landroid_media_Session2Command_Landroid_media_Session2Command_Result_Handler", ApiSince=29)>]
abstract member OnCommandResult : Android.Media.MediaSession2 * Android.Media.MediaSession2.ControllerInfo * Java.Lang.Object * Android.Media.Session2Command * Android.Media.Session2Command.Result -> unit
override this.OnCommandResult : Android.Media.MediaSession2 * Android.Media.MediaSession2.ControllerInfo * Java.Lang.Object * Android.Media.Session2Command * Android.Media.Session2Command.Result -> unit

Parameters

session
MediaSession2
token
Object
command
Session2Command
Attributes

Applies to