Language

GatewayOption Enum

Definition

Specifies options for a virtual carrier network (VCN) gateway connection. See the Android gateway option reference.

public enum GatewayOption
type GatewayOption = 
Inheritance
GatewayOption

Fields

Name Value Description
EnableDataStallRecoveryWithMobility 0

Perform mobility update to attempt recovery from suspected data stalls.

If set, the gateway connection will monitor the data stall detection of the VCN network. When there is a suspected data stall, the gateway connection will attempt recovery by performing a mobility update on the underlying IKE session.

Android reference for android.net.vcn.VcnGatewayConnectionConfig.VCN_GATEWAY_OPTION_ENABLE_DATA_STALL_RECOVERY_WITH_MOBILITY.

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.

Remarks

Use these values with VcnGatewayConnectionConfig.Builder to enable or remove individual options, and with HasGatewayOption(GatewayOption) to check an option. EnableDataStallRecoveryWithMobility has value 0 and enables recovery attempts that use an IKE mobility update when a data stall is suspected.

Applies to