다음을 통해 공유


SurfaceControlViewHost.Release Method

Definition

Trigger the tear down of the embedded view hierarchy and release the SurfaceControl.

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

Remarks

Trigger the tear down of the embedded view hierarchy and release the SurfaceControl. This will result in onDispatchedFromWindow being dispatched to the embedded view hierarchy and render the object unusable.

Java documentation for android.view.SurfaceControlViewHost.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