SmsWapMessage SmsWapMessage SmsWapMessage SmsWapMessage SmsWapMessage Class


Represents an SMS WAP push message.


This functionality is only available to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: device apps.

public : sealed class SmsWapMessage : ISmsMessageBase
struct winrt::Windows::Devices::Sms::SmsWapMessage : ISmsMessageBase
public sealed class SmsWapMessage : ISmsMessageBase
Public NotInheritable Class SmsWapMessage Implements ISmsMessageBase
// This class does not provide a public constructor.

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)
sms cellularMessaging


Pass the DeviceId property to SmsDevice.FromIdAsync to activate the device and retrieve additional message details.


ApplicationId ApplicationId ApplicationId ApplicationId ApplicationId

Gets the value of the X-Wap-Application-Id header of the SmsWapMessage.

BinaryBody BinaryBody BinaryBody BinaryBody BinaryBody

Gets the binary body of the blob in the SmsWapMessage.

CellularClass CellularClass CellularClass CellularClass CellularClass

Gets the cellular class of the SMS device that received the message.

ContentType ContentType ContentType ContentType ContentType

Gets the value of the Content-Type header in the SmsWapMessage. Header parameters can be found in the Headers property.

DeviceId DeviceId DeviceId DeviceId DeviceId

Gets the device information ID of the SmsDevice that receives the SmsWapMessage.

From From From From From

Gets the phone number of the sender of the SmsWapMessage.

Headers Headers Headers Headers Headers

Gets the header name-value pairs of the WAP push message.

MessageClass MessageClass MessageClass MessageClass MessageClass

Gets the message class of the SmsWapMessage.

MessageType MessageType MessageType MessageType MessageType

Gets the message type of the SmsWapMessage.

SimIccId SimIccId SimIccId SimIccId SimIccId

Gets the ICCID (Integrated Circuit Card Identifier) of the SIM that received the message.

Timestamp Timestamp Timestamp Timestamp Timestamp

Gets the timestamp of the SmsWapMessage.

The Timestamp property is determined locally for a constructed message instance or from the service center timestamp of a received message.

To To To To To

Gets the recipient phone number of this SmsWapMessage.

See also