Language

PhotoPickerSelectionParams.MinMediaItemResolutionInPixels Property

Definition

Returns the minimum required resolution, in pixels, for a media item to be selectable.

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

Property Value

Returns the minimum required resolution, in pixels, for a media item to be selectable.

Attributes

Remarks

Returns the minimum required resolution, in pixels, for a media item to be selectable.

If the minimum resolution is not set by the caller app using Builder.setMinMediaItemResolutionInPixels(long), this method returns -1, indicating that the photo picker will not restrict selection based on the minimum media item resolution.

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

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