Ussd​Reply Ussd​Reply Ussd​Reply Ussd​Reply Class

Definition

Represents the network response after sending a USSD message.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : sealed class UssdReply : IUssdReplypublic sealed class UssdReply : IUssdReplyPublic NotInheritable Class UssdReply Implements IUssdReply// You can use this class in JavaScript.
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 Message

Gets the message for the USSD response.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : UssdMessage Message { get; }public UssdMessage Message { get; }Public ReadOnly Property Message As UssdMessage// You can use this property in JavaScript.
Value
UssdMessage UssdMessage UssdMessage UssdMessage

The message for the USSD response.

Remarks

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

ResultCode ResultCode ResultCode ResultCode

Gets the result code for the USSD response.

Note

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

If you want to use this API and publish your app to the Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : UssdResultCode ResultCode { get; }public UssdResultCode ResultCode { get; }Public ReadOnly Property ResultCode As UssdResultCode// You can use this property in JavaScript.
Value
UssdResultCode UssdResultCode UssdResultCode UssdResultCode

The result code for the USSD response.

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.