-api-id | -api-type | -api-device-family-note |
---|---|---|
M:Windows.Networking.NetworkOperators.UssdMessage.SetPayload(System.Byte[]) |
winrt method |
xbox |
Sets the raw 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.
The raw payload of this UssdMessage.
When you set the raw payload for a UssdMessage, you must first set the DataCodingScheme property to the encoding scheme for the message. If you do not set the DataCodingScheme property, the default coding scheme is used.
If you use the default coding scheme, you can access the payload as text using the PayloadAsText property.
The maximum size of the raw payload is 160 bytes.
cellularDeviceIdentity, cellularDeviceControl