Share via


MediaController.Callback.OnSessionDestroyed Method

Definition

Override to handle the session being destroyed.

[Android.Runtime.Register("onSessionDestroyed", "()V", "GetOnSessionDestroyedHandler")]
public virtual void OnSessionDestroyed ();
[<Android.Runtime.Register("onSessionDestroyed", "()V", "GetOnSessionDestroyedHandler")>]
abstract member OnSessionDestroyed : unit -> unit
override this.OnSessionDestroyed : unit -> unit
Attributes

Remarks

Override to handle the session being destroyed. The session is no longer valid after this call and calls to it will be ignored.

Java documentation for android.media.session.MediaController.Callback.onSessionDestroyed().

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