Dela via


UssdMessage.GetPayload Method

Definition

Gets 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.

public:
 virtual Platform::Array <byte> ^ GetPayload() = GetPayload;
winrt::array_view <byte> GetPayload();
public byte[] GetPayload();
function getPayload()
Public Function GetPayload () As Byte()

Returns

Byte[]

byte[]

The raw payload of this UssdMessage.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The DataCodingScheme property identifies how the payload is encoded.

The maximum size of the raw payload is 160 bytes.

Applies to