Aracılığıyla paylaş


ClipDescription.CompareMimeTypes(String, String) Method

Definition

Helper to compare two MIME types, where one may be a pattern.

[Android.Runtime.Register("compareMimeTypes", "(Ljava/lang/String;Ljava/lang/String;)Z", "")]
public static bool CompareMimeTypes (string? concreteType, string? desiredType);
[<Android.Runtime.Register("compareMimeTypes", "(Ljava/lang/String;Ljava/lang/String;)Z", "")>]
static member CompareMimeTypes : string * string -> bool

Parameters

concreteType
String

A fully-specified MIME type.

desiredType
String

A desired MIME type that may be a pattern such as &#47;.

Returns

Returns true if the two MIME types match.

Attributes

Remarks

Helper to compare two MIME types, where one may be a pattern.

Java documentation for android.content.ClipDescription.compareMimeTypes(java.lang.String, 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