TunnelModeChildSessionParams.Builder.AddInboundTrafficSelectors 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.
Adds an inbound IkeTrafficSelector to the TunnelModeChildSessionParams being built.
[Android.Runtime.Register("addInboundTrafficSelectors", "(Landroid/net/ipsec/ike/IkeTrafficSelector;)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInboundTrafficSelectors(Android.Net.IpSec.Ike.IkeTrafficSelector trafficSelector);
[<Android.Runtime.Register("addInboundTrafficSelectors", "(Landroid/net/ipsec/ike/IkeTrafficSelector;)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInboundTrafficSelectors : Android.Net.IpSec.Ike.IkeTrafficSelector -> Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder
Parameters
- trafficSelector
- IkeTrafficSelector
the inbound IkeTrafficSelector. This value cannot be null.
Returns
Builder this, to facilitate chaining. This value cannot be null.
- Attributes
Remarks
Adds an inbound IkeTrafficSelector to the TunnelModeChildSessionParams being built.
This method allows callers to limit the inbound traffic transmitted over the Child Session to the given range. The IKE server may further narrow the range. Callers should refer to ChildSessionConfiguration for the negotiated traffic selectors.
If no inbound IkeTrafficSelector is provided, a default value will be used that covers all IP addresses and ports.
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.