ImageDecoder.AllocationLimit 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得影像解碼時的最大記憶體上限(位元組)。 -或- 設定影像解碼的最大記憶體限制(位元組)。
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
屬性值
非負每次解碼分配的限制,以位元組為單位。
- 屬性
備註
取得影像解碼時的最大記憶體上限(位元組)。
Android 參考資料。android.graphics.ImageDecoder.getAllocationLimit
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。