Share via


SurfaceView.ClearChildSurfacePackage Method

Definition

Clears the SurfaceControlViewHost.SurfacePackage that was set on this SurfaceView.

[Android.Runtime.Register("clearChildSurfacePackage", "()V", "GetClearChildSurfacePackageHandler", ApiSince=36)]
public virtual void ClearChildSurfacePackage();
[<Android.Runtime.Register("clearChildSurfacePackage", "()V", "GetClearChildSurfacePackageHandler", ApiSince=36)>]
abstract member ClearChildSurfacePackage : unit -> unit
override this.ClearChildSurfacePackage : unit -> unit
Attributes

Remarks

Clears the SurfaceControlViewHost.SurfacePackage that was set on this SurfaceView. This hides any content rendered by the provided SurfaceControlViewHost.SurfacePackage.

Java documentation for android.view.SurfaceView.clearChildSurfacePackage().

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