Udostępnij za pośrednictwem


MediaController2.ControllerCallback.OnDisconnected(MediaController2) Method

Definition

Called when the session refuses the controller or the controller is disconnected from the session.

[Android.Runtime.Register("onDisconnected", "(Landroid/media/MediaController2;)V", "GetOnDisconnected_Landroid_media_MediaController2_Handler", ApiSince=29)]
public virtual void OnDisconnected (Android.Media.MediaController2 controller);
[<Android.Runtime.Register("onDisconnected", "(Landroid/media/MediaController2;)V", "GetOnDisconnected_Landroid_media_MediaController2_Handler", ApiSince=29)>]
abstract member OnDisconnected : Android.Media.MediaController2 -> unit
override this.OnDisconnected : Android.Media.MediaController2 -> unit

Parameters

controller
MediaController2

the controller for this event

Attributes

Remarks

Java documentation for android.media.MediaController2.ControllerCallback.onDisconnected(android.media.MediaController2).

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