ClipDescription.FilterMimeTypes(String) Method

Definition

Filter the clip description MIME types by the given MIME type.

[Android.Runtime.Register("filterMimeTypes", "(Ljava/lang/String;)[Ljava/lang/String;", "GetFilterMimeTypes_Ljava_lang_String_Handler")]
public virtual string[]? FilterMimeTypes (string? mimeType);
[<Android.Runtime.Register("filterMimeTypes", "(Ljava/lang/String;)[Ljava/lang/String;", "GetFilterMimeTypes_Ljava_lang_String_Handler")>]
abstract member FilterMimeTypes : string -> string[]
override this.FilterMimeTypes : string -> string[]

Parameters

mimeType
String

The desired MIME type. May be a pattern.

Returns

String[]

Returns an array of all matching MIME types. If there are no matching MIME types, null is returned.

Attributes

Remarks

Filter the clip description MIME types by the given MIME type. Returns all MIME types in the clip that match the given MIME type.

Java documentation for android.content.ClipDescription.filterMimeTypes(java.lang.String).

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