다음을 통해 공유


URLConnection.ContentEncoding Property

Definition

Returns the value of the content-encoding header field.

public virtual string? ContentEncoding { [Android.Runtime.Register("getContentEncoding", "()Ljava/lang/String;", "GetGetContentEncodingHandler")] get; }
[<get: Android.Runtime.Register("getContentEncoding", "()Ljava/lang/String;", "GetGetContentEncodingHandler")>]
member this.ContentEncoding : string

Property Value

the content encoding of the resource that the URL references, or null if not known.

Attributes

Remarks

Returns the value of the content-encoding header field.

Java documentation for java.net.URLConnection.getContentEncoding().

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