Compartir a través de


ImageDecoder.Close Method

Definition

Closes this resource, relinquishing any underlying resources.

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

Implements

Attributes

Remarks

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

This is an implementation detail of ImageDecoder, and should never be called manually.

Java documentation for android.graphics.ImageDecoder.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