UssdReply UssdReply UssdReply Class

Definition

Represents the network response after sending a USSD message.

Note

This functionality is only available to mobile operator apps and Windows Store app given privileged access by mobile network operators.

For permission to use this API, please reach out to Network Operators API Permissions.

For technical help with this API, please reach out to Network Operators API Help

public sealed class UssdReply : IUssdReplypublic sealed class UssdReply : IUssdReplyPublic NotInheritable Class UssdReply Implements IUssdReply
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

Message Message Message

Gets the message for the USSD response.

Note

This functionality is only available to mobile operator apps and Windows Store app given privileged access by mobile network operators.

For permission to use this API, please reach out to Network Operators API Permissions.

For technical help with this API, please reach out to Network Operators API Help

public UssdMessage Message { get; }public UssdMessage Message { get; }Public ReadOnly Property Message As UssdMessage
Value
UssdMessage UssdMessage UssdMessage

The message for the USSD response.

Attributes

Remarks

A message is present only if the ResultCode property returns ActionRequired or NoActionRequired; otherwise the Message property returns null.

ResultCode ResultCode ResultCode

Gets the result code for the USSD response.

Note

This functionality is only available to mobile operator apps and Windows Store app given privileged access by mobile network operators.

For permission to use this API, please reach out to Network Operators API Permissions.

For technical help with this API, please reach out to Network Operators API Help

public UssdResultCode ResultCode { get; }public UssdResultCode ResultCode { get; }Public ReadOnly Property ResultCode As UssdResultCode
Value
UssdResultCode UssdResultCode UssdResultCode

The result code for the USSD response.

Attributes

Remarks

If the ResultCode property returns ActionRequired, the session is still open and you can respond by sending a message or closing the session.

Note

The USSD protocol supports only a single USSD session at a time. An application must ensure that a session is closed when it is no longer needed. If an unused USSD session is not explicitly closed, other applications cannot use USSD until the unused USSD session times out.