CloudMediaProvider.CloudMediaSurfaceController.OnSurfaceDestroyed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.