ImageDecoder.Allocator Property
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.
Return the allocator for the pixel memory. -or- Choose the backing for the pixel memory.
public Android.Graphics.ImageDecoderAllocator Allocator { [Android.Runtime.Register("getAllocator", "()I", "", ApiSince=28)] get; [Android.Runtime.Register("setAllocator", "(I)V", "", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getAllocator", "()I", "", ApiSince=28)>]
[<set: Android.Runtime.Register("setAllocator", "(I)V", "", ApiSince=28)>]
member this.Allocator : Android.Graphics.ImageDecoderAllocator with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Return the allocator for the pixel memory.
Java documentation for android.graphics.ImageDecoder.getAllocator()
.
Property setter documentation:
Choose the backing for the pixel memory.
This is ignored for animated drawables.
Like all setters on ImageDecoder, this must be called inside OnHeaderDecodedListener#onHeaderDecoded onHeaderDecoded
.
Java documentation for android.graphics.ImageDecoder.setAllocator(int)
.
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.