Language

PhotoPickerSelectionParams.MaxSelectionBatchSizeInBytes Property

Definition

Returns the maximum allowed cumulative size, in bytes, for the entire batch of selected media items.

public long MaxSelectionBatchSizeInBytes { [Android.Runtime.Register("getMaxSelectionBatchSizeInBytes", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMaxSelectionBatchSizeInBytes", "()J", "", ApiSince=37)>]
member this.MaxSelectionBatchSizeInBytes : int64

Property Value

Returns the maximum allowed cumulative size, in bytes, for the entire batch of selected media items.

Attributes

Remarks

Returns the maximum allowed cumulative size, in bytes, for the entire batch of selected media items.

If the maximum selection batch size is not set by the caller app using Builder.setMaxSelectionBatchSizeInBytes(long), this method returns -1, indicating that the photo picker will not restrict selection based on the total batch size.

Android reference for android.widget.photopicker.PhotoPickerSelectionParams.getMaxSelectionBatchSizeInBytes.

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