PhotoPickerSelectionParams.MaxMediaItemResolutionInPixels Property
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.
Returns the maximum allowed resolution, in pixels, for a media item to be selectable.
public long MaxMediaItemResolutionInPixels { [Android.Runtime.Register("getMaxMediaItemResolutionInPixels", "()J", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMaxMediaItemResolutionInPixels", "()J", "", ApiSince=37)>]
member this.MaxMediaItemResolutionInPixels : int64
Property Value
Returns the maximum allowed resolution, in pixels, for a media item to be selectable.
- Attributes
Remarks
Returns the maximum allowed resolution, in pixels, for a media item to be selectable.
If the maximum resolution is not set by the caller app using Builder.setMaxMediaItemResolutionInPixels(long), this method returns -1, indicating that the photo picker will not restrict selection based on the maximum media item resolution.
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.