PhotoPickerSelectionParams.Builder.SetMaxSelectionBatchSizeInBytes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定整批選定媒體項目的最大允許累積大小(位元組)。
[Android.Runtime.Register("setMaxSelectionBatchSizeInBytes", "(J)Landroid/widget/photopicker/PhotoPickerSelectionParams$Builder;", "", ApiSince=37)]
public Android.Widget.PhotoPicker.PhotoPickerSelectionParams.Builder SetMaxSelectionBatchSizeInBytes(long maxSelectionBatchSizeInBytes);
[<Android.Runtime.Register("setMaxSelectionBatchSizeInBytes", "(J)Landroid/widget/photopicker/PhotoPickerSelectionParams$Builder;", "", ApiSince=37)>]
member this.SetMaxSelectionBatchSizeInBytes : int64 -> Android.Widget.PhotoPicker.PhotoPickerSelectionParams.Builder
參數
- maxSelectionBatchSizeInBytes
- Int64
最大批次大小(以位元組為單位)。
傳回
這個建構器,最大總選擇大小以位元組為單位配置。
- 屬性
備註
設定整批選定媒體項目的最大允許累積大小(位元組)。
這限制了使用者所選擇媒體的總聚合大小。 若新選取導致總尺寸超過此限制,使用者將收到已達最大選擇大小限制的通知,必須先取消選取後才能繼續。
若未設定,使用者可選擇的媒體項目將不會強制執行集體批次大小限制。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。