ImageDecoder.DecodeException.GainmapExtractionFailed Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 the partially decoded result is returned by returning true from OnPartialImageListener.onPartialImage(DecodeException) there will still be a complete base image to be viewed. It is thus recommended to return the partial image and proceed with displaying it. Applications that are doing this for editing or similar may want to consider warning the user that data was lost.
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.