Linguaggio

ImageDecoder.DecodeException.Error Proprietà

Definizione

Recuperare il motivo per cui la decodifica è stata interrotta.

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

Valore della proprietà

Il valore è uno dei seguenti: SOURCE_EXCEPTION SOURCE_INCOMPLETE SOURCE_MALFORMED_DATA GAINMAP_EXTRACTION_FAILED

Attributi

Commenti

Recuperare il motivo per cui la decodifica è stata interrotta.

Se l'errore è #SOURCE_EXCEPTION, l'oggetto sottostante java.lang.Throwable può essere recuperato con java.lang.Throwable#getCause.

per android.graphics.ImageDecoder.DecodeException.getError().

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a