语言

ContentResolver.GetTypeInfo(String) 方法

定义

返回给定 MIME 类型的详细说明,包括描述该类型的图标和标签。

[Android.Runtime.Register("getTypeInfo", "(Ljava/lang/String;)Landroid/content/ContentResolver$MimeTypeInfo;", "", ApiSince=29)]
public Android.Content.ContentResolver.MimeTypeInfo GetTypeInfo(string mimeType);
[<Android.Runtime.Register("getTypeInfo", "(Ljava/lang/String;)Landroid/content/ContentResolver$MimeTypeInfo;", "", ApiSince=29)>]
member this.GetTypeInfo : string -> Android.Content.ContentResolver.MimeTypeInfo

参数

mimeType
String

有效的具体 MIME 类型。

返回

此值不能为 null。

属性

注解

Java文档android.content.ContentResolver.getTypeInfo(java.lang.String)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于