PhotoPickerSelectionParams.MimeTypes 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 list of allowed MIME types that media items must match to be selectable.
public System.Collections.Generic.IList<string> MimeTypes { [Android.Runtime.Register("getMimeTypes", "()Ljava/util/List;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getMimeTypes", "()Ljava/util/List;", "", ApiSince=37)>]
member this.MimeTypes : System.Collections.Generic.IList<string>
Property Value
- Attributes
Remarks
Returns the list of allowed MIME types that media items must match to be selectable.
If the allowed MIME types are not set by the caller app using Builder.setMimeTypes(List), this method returns an empty list, indicating that the photo picker will not restrict selection based on the MIME type.
Android reference for android.widget.photopicker.PhotoPickerSelectionParams.getMimeTypes.
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.