UssdMessage UssdMessage UssdMessage UssdMessage UssdMessage Class

Definition

Represents a USSD message that is used for sending messages to and receiving messages from the network.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

public : sealed class UssdMessage : IUssdMessage
struct winrt::Windows::Networking::NetworkOperators::UssdMessage : IUssdMessage
public sealed class UssdMessage : IUssdMessage
Public NotInheritable Class UssdMessage Implements IUssdMessage
var ussdMessage = new ussdMessage(messageText);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularDeviceControl cellularDeviceIdentity

Constructors

UssdMessage(String) UssdMessage(String) UssdMessage(String) UssdMessage(String) UssdMessage(String)

Creates a new instance of a UssdMessage and encodes the supplied string into the message payload.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

Properties

DataCodingScheme DataCodingScheme DataCodingScheme DataCodingScheme DataCodingScheme

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

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

PayloadAsText PayloadAsText PayloadAsText PayloadAsText PayloadAsText

Gets or sets the payload of this UssdMessage as text.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

Methods

GetPayload() GetPayload() GetPayload() GetPayload() GetPayload()

Gets the raw payload of this UssdMessage.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.

SetPayload(Byte[]) SetPayload(Byte[]) SetPayload(Byte[]) SetPayload(Byte[]) SetPayload(Byte[])

Sets the raw payload of this UssdMessage.

Note

This functionality is only available 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 Store, you will need special approval. For more information, see the Special and restricted capabilities section under App capability declarations.