Jaa


UssdResultCode Enum

Definition

Describes the USSD response codes for messages sent to the network.

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.

public enum class UssdResultCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class UssdResultCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum UssdResultCode
var value = Windows.Networking.NetworkOperators.UssdResultCode.noActionRequired
Public Enum UssdResultCode
Inheritance
UssdResultCode
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
NoActionRequired 0

The USSD message that was received is either a USSD notification from the network or a response to an earlier request. No further information is necessary. The USSD session is closed.

ActionRequired 1

The USSD message that was received is either a USSD request from the network or a response to a message sent to the network. Additional information is needed. The USSD session is open.

Terminated 2

The USSD session has been terminated by the network or a local client.

OtherLocalClient 3

The previous USSD request failed because another local client has an active USSD session.

OperationNotSupported 4

The previous USSD request failed because the request was invalid or cannot be handled by the driver, device, or network.

NetworkTimeout 5

The USSD session has been closed because there was no response from the network.

Applies to