Share via


UssdMessage.DataCodingScheme Property

Definition

Gets or sets the encoding scheme of the payload of this UssdMessage.

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 byte DataCodingScheme { byte get(); void set(byte value); };
byte DataCodingScheme();

void DataCodingScheme(byte value);
public byte DataCodingScheme { get; set; }
var byte = ussdMessage.dataCodingScheme;
ussdMessage.dataCodingScheme = byte;
Public Property DataCodingScheme As Byte

Property Value

Byte

byte

The encoding scheme of the payload of this UssdMessage.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The data coding scheme is part of the USSD protocol. It is defined in 3GPP TS 23.038 chapter 5, CBS Data Coding Scheme

.

When a message is encoded in the default coding scheme, you can access the payload as text using the PayloadAsText property.

Applies to