Share via


CloudMediaProvider.CloudMediaSurfaceController.OnSurfaceDestroyed Method

Definition

Indicates destruction of a Surface with given surfaceId.

[Android.Runtime.Register("onSurfaceDestroyed", "(I)V", "GetOnSurfaceDestroyed_IHandler", ApiSince=33)]
public abstract void OnSurfaceDestroyed (int surfaceId);
[<Android.Runtime.Register("onSurfaceDestroyed", "(I)V", "GetOnSurfaceDestroyed_IHandler", ApiSince=33)>]
abstract member OnSurfaceDestroyed : int -> unit

Parameters

surfaceId
Int32

id which uniquely identifies the Surface for rendering

Attributes

Remarks

Indicates destruction of a Surface with given surfaceId.

This is called immediately before a surface is being destroyed. After returning from this call, you should no longer try to access this surface.

Java documentation for android.provider.CloudMediaProvider.CloudMediaSurfaceController.onSurfaceDestroyed(int).

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