PackageManager.SetMimeGroup(String, ICollection<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.
Sets MIME group's MIME types.
[Android.Runtime.Register("setMimeGroup", "(Ljava/lang/String;Ljava/util/Set;)V", "GetSetMimeGroup_Ljava_lang_String_Ljava_util_Set_Handler", ApiSince=30)]
public virtual void SetMimeGroup (string mimeGroup, System.Collections.Generic.ICollection<string> mimeTypes);
[<Android.Runtime.Register("setMimeGroup", "(Ljava/lang/String;Ljava/util/Set;)V", "GetSetMimeGroup_Ljava_lang_String_Ljava_util_Set_Handler", ApiSince=30)>]
abstract member SetMimeGroup : string * System.Collections.Generic.ICollection<string> -> unit
override this.SetMimeGroup : string * System.Collections.Generic.ICollection<string> -> unit
Parameters
- mimeGroup
- String
MIME group to modify.
- mimeTypes
- ICollection<String>
new MIME types contained by MIME group.
- Attributes
Remarks
Sets MIME group's MIME types.
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".
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.