Jaa


UssdReply.ResultCode Property

Definition

Gets the result code for the USSD response.

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:
 property UssdResultCode ResultCode { UssdResultCode get(); };
UssdResultCode ResultCode();
public UssdResultCode ResultCode { get; }
var ussdResultCode = ussdReply.resultCode;
Public ReadOnly Property ResultCode As UssdResultCode

Property Value

The result code for the USSD response.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

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.

Applies to