共用方式為


MediaController2.CancelSessionCommand(Object) Method

Definition

Cancels the session command previously sent.

[Android.Runtime.Register("cancelSessionCommand", "(Ljava/lang/Object;)V", "GetCancelSessionCommand_Ljava_lang_Object_Handler", ApiSince=29)]
public virtual void CancelSessionCommand (Java.Lang.Object token);
[<Android.Runtime.Register("cancelSessionCommand", "(Ljava/lang/Object;)V", "GetCancelSessionCommand_Ljava_lang_Object_Handler", ApiSince=29)>]
abstract member CancelSessionCommand : Java.Lang.Object -> unit
override this.CancelSessionCommand : Java.Lang.Object -> unit

Parameters

token
Object

the token which is returned from #sendSessionCommand.

Attributes

Remarks

Java documentation for android.media.MediaController2.cancelSessionCommand(java.lang.Object).

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