Freigeben über


DnsOptions.Builder.SetPersistHostCachePeriod(Duration) Method

Definition

[Android.Runtime.Register("setPersistHostCachePeriod", "(Ljava/time/Duration;)Landroid/net/http/DnsOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.DnsOptions.Builder SetPersistHostCachePeriod (Java.Time.Duration persistHostCachePeriod);
[<Android.Runtime.Register("setPersistHostCachePeriod", "(Ljava/time/Duration;)Landroid/net/http/DnsOptions$Builder;", "", ApiSince=34)>]
member this.SetPersistHostCachePeriod : Java.Time.Duration -> Android.Net.Http.DnsOptions.Builder

Parameters

persistHostCachePeriod
Duration

Returns

Attributes

Applies to