TunnelModeChildSessionParams.Builder.AddInternalAddressRequest Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| AddInternalAddressRequest(Inet4Address) |
Adds a specific internal IPv4 address request to the TunnelModeChildSessionParams being built. |
| AddInternalAddressRequest(Int32) |
Adds an internal IP address request to the TunnelModeChildSessionParams being built. |
| AddInternalAddressRequest(Inet6Address, Int32) |
Adds a specific internal IPv6 address request to the TunnelModeChildSessionParams being built. |
AddInternalAddressRequest(Inet4Address)
Adds a specific internal IPv4 address request to the TunnelModeChildSessionParams being built.
[Android.Runtime.Register("addInternalAddressRequest", "(Ljava/net/Inet4Address;)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInternalAddressRequest(Java.Net.Inet4Address address);
[<Android.Runtime.Register("addInternalAddressRequest", "(Ljava/net/Inet4Address;)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInternalAddressRequest : Java.Net.Inet4Address -> Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder
Parameters
- address
- Inet4Address
the requested IPv4 address. This value cannot be null.
Returns
Builder this, to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Adds a specific internal IPv4 address request to the TunnelModeChildSessionParams being built.
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
AddInternalAddressRequest(Int32)
Adds an internal IP address request to the TunnelModeChildSessionParams being built.
[Android.Runtime.Register("addInternalAddressRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInternalAddressRequest(int addressFamily);
[<Android.Runtime.Register("addInternalAddressRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInternalAddressRequest : 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 IP address request to the TunnelModeChildSessionParams being built.
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
AddInternalAddressRequest(Inet6Address, Int32)
Adds a specific internal IPv6 address request to the TunnelModeChildSessionParams being built.
[Android.Runtime.Register("addInternalAddressRequest", "(Ljava/net/Inet6Address;I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInternalAddressRequest(Java.Net.Inet6Address address, int prefixLen);
[<Android.Runtime.Register("addInternalAddressRequest", "(Ljava/net/Inet6Address;I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInternalAddressRequest : Java.Net.Inet6Address * int -> Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder
Parameters
- address
- Inet6Address
the requested IPv6 address. This value cannot be null.
- prefixLen
- Int32
length of the IPv6 address prefix length.
Returns
Builder this, to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Adds a specific internal IPv6 address request to the TunnelModeChildSessionParams being built.
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.