다음을 통해 공유


PackageManager.GetMimeGroup(String) Method

Definition

Gets all MIME types contained by MIME group.

[Android.Runtime.Register("getMimeGroup", "(Ljava/lang/String;)Ljava/util/Set;", "GetGetMimeGroup_Ljava_lang_String_Handler", ApiSince=30)]
public virtual System.Collections.Generic.ICollection<string> GetMimeGroup (string mimeGroup);
[<Android.Runtime.Register("getMimeGroup", "(Ljava/lang/String;)Ljava/util/Set;", "GetGetMimeGroup_Ljava_lang_String_Handler", ApiSince=30)>]
abstract member GetMimeGroup : string -> System.Collections.Generic.ICollection<string>
override this.GetMimeGroup : string -> System.Collections.Generic.ICollection<string>

Parameters

mimeGroup
String

MIME group to retrieve.

Returns

MIME types contained by the MIME group.

Attributes

Remarks

Gets all MIME types contained by MIME group.

Libraries should use a reverse-DNS prefix followed by a ':' character and library-specific group name to avoid namespace collisions, e.g. "com.example:myFeature".

Java documentation for android.content.pm.PackageManager.getMimeGroup(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