Język

TunnelModeChildSessionParams.Builder.AddInternalDnsServerRequest Method

Definition

Adds an internal DNS server request to the TunnelModeChildSessionParams being built.

[Android.Runtime.Register("addInternalDnsServerRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInternalDnsServerRequest(int addressFamily);
[<Android.Runtime.Register("addInternalDnsServerRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInternalDnsServerRequest : int -> Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder

Parameters

addressFamily
Int32

the address family. Only AF_INET and AF_INET6 are allowed

Returns

Builder this, to facilitate chaining. This value cannot be null.

Attributes

Remarks

Adds an internal DNS server request to the TunnelModeChildSessionParams being built.

Android reference for android.net.ipsec.ike.TunnelModeChildSessionParams.Builder.addInternalDnsServerRequest.

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