Language

VcnStatusCode Enum

Definition

Identifies the VCN status reported for a subscription group. See the Android status callback reference.

public enum VcnStatusCode
type VcnStatusCode = 
Inheritance
VcnStatusCode

Fields

Name Value Description
NotConfigured 0

Value indicating that the VCN for the subscription group is not configured, or that the callback is not privileged for the subscription group.

Android reference for android.net.vcn.VcnManager.VCN_STATUS_CODE_NOT_CONFIGURED.

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.

Inactive 1

Value indicating that the VCN for the subscription group is inactive.

A VCN is inactive if a VcnConfig is present for the subscription group, but the provisioning package is not privileged.

Android reference for android.net.vcn.VcnManager.VCN_STATUS_CODE_INACTIVE.

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.

Active 2

Value indicating that the VCN for the subscription group is active.

A VCN is active if a VcnConfig is present for the subscription, the provisioning package is privileged, and the VCN is not in Safe Mode. In other words, a VCN is considered active while it is connecting, fully connected, and disconnecting.

Android reference for android.net.vcn.VcnManager.VCN_STATUS_CODE_ACTIVE.

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.

SafeMode 3

Value indicating that the VCN for the subscription group is in Safe Mode.

A VCN will be put into Safe Mode if any of the gateway connections were unable to establish a connection within a system-determined timeout (while underlying networks were available).

Android reference for android.net.vcn.VcnManager.VCN_STATUS_CODE_SAFE_MODE.

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

NotConfigured (0) indicates that no VCN is configured or that the callback lacks privileges for the group. Inactive (1) indicates that a configuration exists but its provisioning package lacks privileges. Active (2) includes connecting, connected, and disconnecting states outside safe mode. SafeMode (3) indicates safe mode after a gateway fails to connect within the system timeout while underlying networks are available.

Applies to