次の方法で共有


DocumentsContract.QueryArgMimeTypes Field

Definition

Key for DocumentsProvider to query mime types is matched.

[Android.Runtime.Register("QUERY_ARG_MIME_TYPES", ApiSince=29)]
public const string QueryArgMimeTypes;
[<Android.Runtime.Register("QUERY_ARG_MIME_TYPES", ApiSince=29)>]
val mutable QueryArgMimeTypes : string

Field Value

Attributes

Remarks

Key for DocumentsProvider to query mime types is matched. The value is a string array, it can support different mime types. Each items will be treated as "OR" condition. Ex: {"image/*" , "video/*"}. The mime types of the results will contain both image type and video type.

Java documentation for android.provider.DocumentsContract.QUERY_ARG_MIME_TYPES.

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