Dil

FinishedRequestTimings.DnsEnd Property

Definition

Returns the timestamp when the DNS lookup finished.

public Java.Time.Instant? DnsEnd { [Android.Runtime.Register("getDnsEnd", "()Ljava/time/Instant;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getDnsEnd", "()Ljava/time/Instant;", "", ApiSince=37)>]
member this.DnsEnd : Java.Time.Instant

Property Value

the java.time.Instant when the DNS lookup completed, or null if no lookup was performed.

Attributes

Remarks

Returns the timestamp when the DNS lookup finished.

This value is null if no DNS lookup was required, such as when the request reuses an existing connection. If a lookup was attempted, this value will be non-null, regardless of whether the lookup succeeded (via network or cache) or failed.

Android reference for android.net.http.FinishedRequestTimings.getDnsEnd.

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