UrlRequest.IStatusListener.OnStatus(UrlRequestStatus) Method

Definition

Invoked on UrlRequest's Executor's thread when request status is obtained.

[Android.Runtime.Register("onStatus", "(I)V", "GetOnStatus_IHandler:Android.Net.Http.UrlRequest/IStatusListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnStatus (Android.Net.Http.UrlRequestStatus status);
[<Android.Runtime.Register("onStatus", "(I)V", "GetOnStatus_IHandler:Android.Net.Http.UrlRequest/IStatusListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnStatus : Android.Net.Http.UrlRequestStatus -> unit

Parameters

status
UrlRequestStatus

integer representing the status of the request. It is one of the values defined in Status.

Attributes

Remarks

Invoked on UrlRequest's Executor's thread when request status is obtained.

Java documentation for android.net.http.UrlRequest.StatusListener.onStatus(int).

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