WebResourceResponse.Encoding Property

Definition

Gets the resource response's encoding. -or- Sets the resource response's encoding, for example "UTF-8".

public virtual string? Encoding { [Android.Runtime.Register("getEncoding", "()Ljava/lang/String;", "GetGetEncodingHandler")] get; [Android.Runtime.Register("setEncoding", "(Ljava/lang/String;)V", "GetSetEncoding_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getEncoding", "()Ljava/lang/String;", "GetGetEncodingHandler")>]
[<set: Android.Runtime.Register("setEncoding", "(Ljava/lang/String;)V", "GetSetEncoding_Ljava_lang_String_Handler")>]
member this.Encoding : string with get, set

Property Value

The resource response's encoding

Attributes

Remarks

Property getter documentation:

Gets the resource response's encoding.

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

Property setter documentation:

Sets the resource response's encoding, for example &quot;UTF-8&quot;. This is used to decode the data from the input stream.

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