Share via


ImageDecoder.DecodeException.Error Property

Definition

Retrieve the reason that decoding was interrupted.

public Android.Graphics.ImageDecoderErrorType Error { [Android.Runtime.Register("getError", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getError", "()I", "", ApiSince=28)>]
member this.Error : Android.Graphics.ImageDecoderErrorType

Property Value

Attributes

Remarks

Retrieve the reason that decoding was interrupted.

If the error is #SOURCE_EXCEPTION, the underlying java.lang.Throwable can be retrieved with java.lang.Throwable#getCause.

Java documentation for android.graphics.ImageDecoder.DecodeException.getError().

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