Condividi tramite


Surface.Release Method

Definition

Release the local reference to the server-side surface.

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

Remarks

Release the local reference to the server-side surface. Always call release() when you're done with a Surface. This will make the surface invalid.

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