Språk

ImageDecoder.AllocationLimit Property

Definition

Get the maximum memory limit in bytes for image decoding. -or- Set a maximum memory limit (bytes) for an image decode.

public long AllocationLimit { [Android.Runtime.Register("getAllocationLimit", "()J", "", ApiSince=37)] get; [Android.Runtime.Register("setAllocationLimit", "(J)V", "", ApiSince=37)] set; }
[<get: Android.Runtime.Register("getAllocationLimit", "()J", "", ApiSince=37)>]
[<set: Android.Runtime.Register("setAllocationLimit", "(J)V", "", ApiSince=37)>]
member this.AllocationLimit : int64 with get, set

Property Value

Attributes

Remarks

Get the maximum memory limit in bytes for image decoding.

Android reference for android.graphics.ImageDecoder.getAllocationLimit.

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