ImageDecoder.AllocatorDefault 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Graphics.ImageDecoderAllocator enum directly instead of this field.
对像素内存使用默认分配。
[Android.Runtime.Register("ALLOCATOR_DEFAULT", 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 AllocatorDefault = 0;
[<Android.Runtime.Register("ALLOCATOR_DEFAULT", 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 AllocatorDefault : Android.Graphics.ImageDecoderAllocator
字段值
Value = 0- 属性
注解
对像素内存使用默认分配。
通常会导致 Bitmap.Config#HARDWARE 分配,但可能是小映像的软件。 此外,当硬件不兼容时,这将切换到软件,例如 #setMutableRequired setMutableRequired(true) 或 #setDecodeAsAlphaMaskEnabled setDecodeAsAlphaMaskEnabled(true)。
Java文档android.graphics.ImageDecoder.ALLOCATOR_DEFAULT。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。