Freigeben über


MediaStore.ExtraPickImagesMax Field

Definition

The name of an optional intent-extra used to allow multiple selection of items and constrain maximum number of items that can be returned by MediaStore#ACTION_PICK_IMAGES, action may still return nothing (0 items) if the user chooses to cancel.

[Android.Runtime.Register("EXTRA_PICK_IMAGES_MAX", ApiSince=33)]
public const string ExtraPickImagesMax;
[<Android.Runtime.Register("EXTRA_PICK_IMAGES_MAX", ApiSince=33)>]
val mutable ExtraPickImagesMax : string

Field Value

Attributes

Remarks

The name of an optional intent-extra used to allow multiple selection of items and constrain maximum number of items that can be returned by MediaStore#ACTION_PICK_IMAGES, action may still return nothing (0 items) if the user chooses to cancel.

The value of this intent-extra should be a positive integer greater than 1 and less than or equal to MediaStore#getPickImagesMaxLimit, otherwise Activity#RESULT_CANCELED is returned.

Java documentation for android.provider.MediaStore.EXTRA_PICK_IMAGES_MAX.

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