Taal

ImageDecoder.DecodeException.GainmapExtractionFailed Field

Definition

Caution

This constant will be removed in the future version. Use Android.Graphics.ImageDecoderErrorType enum directly instead of this field.

The extraction of the gainmap component of the image failed.

[Android.Runtime.Register("GAINMAP_EXTRACTION_FAILED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderErrorType enum directly instead of this field.", true)]
public const Android.Graphics.ImageDecoderErrorType GainmapExtractionFailed = 4;
[<Android.Runtime.Register("GAINMAP_EXTRACTION_FAILED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.ImageDecoderErrorType enum directly instead of this field.", true)>]
val mutable GainmapExtractionFailed : Android.Graphics.ImageDecoderErrorType

Field Value

Value = 4
Attributes

Remarks

The extraction of the gainmap component of the image failed. If OnPartialImage(ImageDecoder+DecodeException) returns true, the partial result still contains a complete base image. Applications can display it, but editing applications may want to warn that data was lost. On Android 17, this error is not delivered to the listener when the platform feature is disabled or the app targets API 37 or lower.

Android reference for android.graphics.ImageDecoder.DecodeException.GAINMAP_EXTRACTION_FAILED.

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