DrmSupportInfo.AddMimeType(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.
Adds the specified MIME type to the list of MIME types this DRM plug-in supports.
[Android.Runtime.Register("addMimeType", "(Ljava/lang/String;)V", "GetAddMimeType_Ljava_lang_String_Handler")]
public virtual void AddMimeType (string? mimeType);
[<Android.Runtime.Register("addMimeType", "(Ljava/lang/String;)V", "GetAddMimeType_Ljava_lang_String_Handler")>]
abstract member AddMimeType : string -> unit
override this.AddMimeType : string -> unit
Parameters
- mimeType
- String
MIME type that can be handles by this DRM plug-in. Must not be null or an empty string.
- Attributes
Remarks
Adds the specified MIME type to the list of MIME types this DRM plug-in supports.
Java documentation for android.drm.DrmSupportInfo.addMimeType(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.