ImageDecoder.MemorySizePolicy 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.
Retrieve the memory policy for the decoded Bitmap
. -or- Specify the memory policy for the decoded Bitmap
.
public Android.Graphics.ImageDecoderMemoryPolicy MemorySizePolicy { [Android.Runtime.Register("getMemorySizePolicy", "()I", "", ApiSince=28)] get; [Android.Runtime.Register("setMemorySizePolicy", "(I)V", "", ApiSince=28)] set; }
[<get: Android.Runtime.Register("getMemorySizePolicy", "()I", "", ApiSince=28)>]
[<set: Android.Runtime.Register("setMemorySizePolicy", "(I)V", "", ApiSince=28)>]
member this.MemorySizePolicy : Android.Graphics.ImageDecoderMemoryPolicy with get, set
Property Value
- Attributes
Remarks
Property getter documentation:
Retrieve the memory policy for the decoded Bitmap
.
Java documentation for android.graphics.ImageDecoder.getMemorySizePolicy()
.
Property setter documentation:
Specify the memory policy for the decoded Bitmap
.
Like all setters on ImageDecoder, this must be called inside OnHeaderDecodedListener#onHeaderDecoded onHeaderDecoded
.
Java documentation for android.graphics.ImageDecoder.setMemorySizePolicy(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.