Share via


CloudMediaProvider.CloudMediaSurfaceController.OnDestroy Method

Definition

Indicates destruction of this CloudMediaSurfaceController object.

[Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler", ApiSince=33)]
public abstract void OnDestroy ();
[<Android.Runtime.Register("onDestroy", "()V", "GetOnDestroyHandler", ApiSince=33)>]
abstract member OnDestroy : unit -> unit
Attributes

Remarks

Indicates destruction of this CloudMediaSurfaceController object.

This CloudMediaSurfaceController object should no longer be in use after this method has been called.

Note that it is possible for this method to be called directly without #onPlayerRelease being called, hence you should release any resources associated with this CloudMediaSurfaceController object, or perform any cleanup required in this method.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceController.onDestroy().

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