Dil

UrlResponseInfo.HttpStatusCode Property

Definition

Returns the HTTP status code.

public abstract int HttpStatusCode { [Android.Runtime.Register("getHttpStatusCode", "()I", "GetGetHttpStatusCodeHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getHttpStatusCode", "()I", "GetGetHttpStatusCodeHandler", ApiSince=34)>]
member this.HttpStatusCode : int

Property Value

the HTTP status code.

Attributes

Remarks

Returns the HTTP status code. When a resource is retrieved from the cache, whether it was revalidated or not, the original status code is returned.

Android reference for android.net.http.UrlResponseInfo.getHttpStatusCode.

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