HardwareBuffer.Close Method

Definition

Destroys this buffer immediately.

[Android.Runtime.Register("close", "()V", "", ApiSince=26)]
public void Close ();
[<Android.Runtime.Register("close", "()V", "", ApiSince=26)>]
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Attributes

Remarks

Destroys this buffer immediately. Calling this method frees up any underlying native resources. After calling this method, this buffer must not be used in any way.

Java documentation for android.hardware.HardwareBuffer.close().

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