Udostępnij za pośrednictwem


WebResourceResponse.MimeType Property

Definition

Gets the resource response's MIME type. -or- Sets the resource response's MIME type, for example "text/html".

public virtual string? MimeType { [Android.Runtime.Register("getMimeType", "()Ljava/lang/String;", "GetGetMimeTypeHandler")] get; [Android.Runtime.Register("setMimeType", "(Ljava/lang/String;)V", "GetSetMimeType_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getMimeType", "()Ljava/lang/String;", "GetGetMimeTypeHandler")>]
[<set: Android.Runtime.Register("setMimeType", "(Ljava/lang/String;)V", "GetSetMimeType_Ljava_lang_String_Handler")>]
member this.MimeType : string with get, set

Property Value

The resource response's MIME type

Attributes

Remarks

Property getter documentation:

Gets the resource response's MIME type.

Java documentation for android.webkit.WebResourceResponse.getMimeType().

Property setter documentation:

Sets the resource response's MIME type, for example &quot;text/html&quot;.

Java documentation for android.webkit.WebResourceResponse.setMimeType(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