ImageDecoder.AllocatorSoftware Field

Definition

Caution

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

Use a software allocation for the pixel memory.

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

Field Value

Value = 1
Attributes

Remarks

Use a software allocation for the pixel memory.

Useful for drawing to a software Canvas or for accessing the pixels on the final output.

Java documentation for android.graphics.ImageDecoder.ALLOCATOR_SOFTWARE.

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