ClipDescription.CompareMimeTypes(String, String) Method
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.
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 /.
Returns
Returns true if the two MIME types match.
- Attributes
Remarks
Helper to compare two MIME types, where one may be a pattern.
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.