DownloadManager.Request.SetMimeType(String) Method

Definition

Set the MIME content type of this download.

[Android.Runtime.Register("setMimeType", "(Ljava/lang/String;)Landroid/app/DownloadManager$Request;", "GetSetMimeType_Ljava_lang_String_Handler")]
public virtual Android.App.DownloadManager.Request? SetMimeType (string? mimeType);
[<Android.Runtime.Register("setMimeType", "(Ljava/lang/String;)Landroid/app/DownloadManager$Request;", "GetSetMimeType_Ljava_lang_String_Handler")>]
abstract member SetMimeType : string -> Android.App.DownloadManager.Request
override this.SetMimeType : string -> Android.App.DownloadManager.Request

Parameters

mimeType
String

Returns

Attributes

Remarks

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