Language

EmbeddedPhotoPickerFeatureInfo.Builder.SetMaxSelectionLimit(Int32) Method

Definition

Sets the maximum number of items the user can select.

[Android.Runtime.Register("setMaxSelectionLimit", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)]
public Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder SetMaxSelectionLimit(int maxSelectionLimit);
[<Android.Runtime.Register("setMaxSelectionLimit", "(I)Landroid/widget/photopicker/EmbeddedPhotoPickerFeatureInfo$Builder;", "", ApiSince=36)>]
member this.SetMaxSelectionLimit : int -> Android.Widget.PhotoPicker.EmbeddedPhotoPickerFeatureInfo.Builder

Parameters

maxSelectionLimit
Int32

The maximum selection count, from 1 through 100. Pass 1 to open the picker in single-select mode.

Returns

This builder.

Attributes

Remarks

Sets maximum number of items that can be selected by the user

Android reference for android.widget.photopicker.EmbeddedPhotoPickerFeatureInfo.Builder.setMaxSelectionLimit.

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