Språk

UrlRequest.FinishedRequestTimings Property

Definition

Returns the detailed timing metrics for the request.

public virtual Android.Net.Http.FinishedRequestTimings FinishedRequestTimings { [Android.Runtime.Register("getFinishedRequestTimings", "()Landroid/net/http/FinishedRequestTimings;", "GetGetFinishedRequestTimingsHandler", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getFinishedRequestTimings", "()Landroid/net/http/FinishedRequestTimings;", "GetGetFinishedRequestTimingsHandler", ApiSince=37)>]
member this.FinishedRequestTimings : Android.Net.Http.FinishedRequestTimings

Property Value

The request's timing metrics. Individual timestamps may be null when unavailable.

Attributes

Exceptions

The request has not reached a terminal callback.

Remarks

Returns the detailed timing metrics for the request.

This property can be read when the request reaches a terminal callback: OnSucceeded(UrlRequest, UrlResponseInfo), OnFailed(UrlRequest, UrlResponseInfo, HttpException), or OnCanceled(UrlRequest, UrlResponseInfo). It can also be read inside the terminal callback itself.

Android reference for android.net.http.UrlRequest.getFinishedRequestTimings.

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