Udostępnij za pośrednictwem


SurfaceControlViewHost.SurfacePackage.Release Method

Definition

Release the SurfaceControl associated with this package.

[Android.Runtime.Register("release", "()V", "", ApiSince=30)]
public void Release ();
[<Android.Runtime.Register("release", "()V", "", ApiSince=30)>]
member this.Release : unit -> unit
Attributes

Remarks

Release the SurfaceControl associated with this package. It's not necessary to call this if you pass the package to SurfaceView#setChildSurfacePackage as SurfaceView will take ownership in that case.

Java documentation for android.view.SurfaceControlViewHost.SurfacePackage.release().

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