Android.Net.Vcn Namespace
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.
Provides classes to configure and manage virtual carrier networks (VCNs).
Classes
| Name | Description |
|---|---|
| VcnCellUnderlyingNetworkTemplate |
This class represents a configuration for a network template class of underlying cellular networks. |
| VcnCellUnderlyingNetworkTemplate.Builder |
This class is used to incrementally build VcnCellUnderlyingNetworkTemplate objects. |
| VcnConfig |
This class represents a configuration for a Virtual Carrier Network. |
| VcnConfig.Builder |
This class is used to incrementally build |
| VcnConfig.InterfaceConsts |
Provides the parcelable interface constants exposed by VcnConfig. |
| VcnGatewayConnectionConfig |
This class represents a configuration for a connection to a Virtual Carrier Network gateway. |
| VcnGatewayConnectionConfig.Builder |
This class is used to incrementally build |
| VcnManager |
VcnManager publishes APIs for applications to configure and manage Virtual Carrier Networks. |
| VcnManager.VcnStatusCallback |
VcnStatusCallback is the interface for Carrier apps to receive updates for their VCNs. |
| VcnUnderlyingNetworkTemplate |
This class represents a template containing set of underlying network requirements for doing route selection. |
| VcnWifiUnderlyingNetworkTemplate |
This class represents a configuration for a network template class of underlying Carrier WiFi networks. |
| VcnWifiUnderlyingNetworkTemplate.Builder |
This class is used to incrementally build VcnWifiUnderlyingNetworkTemplate objects. |
Enums
| Name | Description |
|---|---|
| GatewayOption |
Specifies options for a virtual carrier network (VCN) gateway connection. See the Android gateway option reference. |
| TemplateMatchParameter |
Specifies whether a network characteristic is required, forbidden, or ignored when a VCN template matches a network. See the Android template matching reference. |
| VcnErrorCode |
Identifies errors reported for a VCN gateway connection. See the Android gateway error callback reference. |
| VcnStatusCode |
Identifies the VCN status reported for a subscription group. See the Android status callback reference. |
Remarks
Use VcnConfig and VcnGatewayConnectionConfig to describe a VCN and its gateway connections. Network templates prioritize eligible underlying cellular and Wi-Fi networks. An otherwise eligible carrier-owned underlying network can still be selected when no template matches. VcnManager manages configurations for subscription groups and registers callbacks for status changes and gateway errors.
See the Android VCN package reference for the platform API.