DataClasses Enum
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.
Defines constants that specify a cellular data service supported by a mobile broadband network device.
Note
This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.
If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.
This enumeration supports a bitwise combination of its member values.
public enum class DataClasses
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DataClasses
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DataClasses
var value = Windows.Networking.NetworkOperators.DataClasses.none
Public Enum DataClasses
- Inheritance
-
DataClasses
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
App capabilities |
cellularDeviceControl
cellularDeviceIdentity
|
Fields
Name | Value | Description |
---|---|---|
None | 0 | No data services supported. |
Gprs | 1 | The device supports the GPRS data service implemented by GSM providers. |
Edge | 2 | The device supports the EDGE data service implemented by GSM providers. |
Umts | 4 | The device supports the UMTS data service implemented by GSM providers. |
Hsdpa | 8 | The device supports the HSDPA data service implemented by GSM providers. |
Hsupa | 16 | The device supports the HSUPA (High Speed Uplink Packet Access) data service. |
LteAdvanced | 32 | The device supports the LTE Advanced (LTE+) data service implemented by GSM providers. |
NewRadioNonStandalone | 64 | Specifies the 5G non-standalone data service leveraging LTE core. |
NewRadioStandalone | 128 | Specifies the advanced 5G data services leveraging 5G core. |
Cdma1xRtt | 65536 | The device supports the 1xRTT data service implemented by CDMA providers. |
Cdma1xEvdo | 131072 | The device supports the 1xEV-DO data service implemented by CDMA providers. |
Cdma1xEvdoRevA | 262144 | The device supports the 1xEV-DO RevA data service implemented by CDMA providers. |
Cdma1xEvdv | 524288 | The device supports the 1xEV-DV data service implemented by CDMA providers. |
Cdma3xRtt | 1048576 | The device supports the 3xRTT data service implemented by CDMA providers. |
Cdma1xEvdoRevB | 2097152 | The device supports the 1xEV-DO RevB data service, which is identified for future use. |
CdmaUmb | 4194304 | The device supports the UMB data service implemented by CDMA providers. |
Custom | 2147483648 | The device supports a custom data service. |