PhotoPickerSelectionParams.Builder.SetMaxSelectionBatchSizeInBytes Method
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.
Sets the maximum allowed cumulative size, in bytes, for the entire batch of selected media items.
[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
Parameters
- maxSelectionBatchSizeInBytes
- Int64
The maximum batch size in bytes.
Returns
- Attributes
Remarks
Sets the maximum allowed cumulative size, in bytes, for the entire batch of selected media items.
This limits the total aggregate size of the media selected by the user. If a new selection causes the total size to exceed this limit, the user will be alerted that they have reached the maximum selection size limit and must deselect items before proceeding.
If it is not set, no collective batch size constraint will be enforced on media items that the user can select.
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.