Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.5 KB

ussdmessage_setpayload_1780974235.md

File metadata and controls

37 lines (26 loc) · 1.5 KB
-api-id -api-type -api-device-family-note
M:Windows.Networking.NetworkOperators.UssdMessage.SetPayload(System.Byte[])
winrt method
xbox

Windows.Networking.NetworkOperators.UssdMessage.SetPayload

-description

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.

-parameters

-param value

The raw payload of this UssdMessage.

-remarks

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.

-examples

-see-also

-capabilities

cellularDeviceIdentity, cellularDeviceControl