SmsWapMessage SmsWapMessage SmsWapMessage SmsWapMessage Class

Definition

Represents an SMS WAP push message.

Note

This functionality is only available to mobile operator apps and Windows Store app 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, ISmsWapMessagepublic sealed class SmsWapMessage : ISmsMessageBase, ISmsWapMessagePublic NotInheritable Class SmsWapMessage Implements ISmsMessageBase, ISmsWapMessage// You can use this class in JavaScript.
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
cellularMessaging

Remarks

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

Properties

ApplicationId ApplicationId ApplicationId ApplicationId

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

public : PlatForm::String ApplicationId { get; }public string ApplicationId { get; }Public ReadOnly Property ApplicationId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The value of the X-Wap-Application-Id header.

Additional features and 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
cellularMessaging

BinaryBody BinaryBody BinaryBody BinaryBody

Gets the binary body of the blob in the SmsWapMessage.

public : IBuffer BinaryBody { get; }public IBuffer BinaryBody { get; }Public ReadOnly Property BinaryBody As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The binary body of the blob in the message.

Additional features and 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
cellularMessaging

CellularClass CellularClass CellularClass CellularClass

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

public : CellularClass CellularClass { get; }public CellularClass CellularClass { get; }Public ReadOnly Property CellularClass As CellularClass// You can use this property in JavaScript.
Value
CellularClass CellularClass CellularClass CellularClass

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

Additional features and 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
cellularMessaging
See Also

ContentType ContentType ContentType ContentType

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

public : PlatForm::String ContentType { get; }public string ContentType { get; }Public ReadOnly Property ContentType As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The value of the Content-Type header in the message.

Additional features and 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
cellularMessaging
See Also

DeviceId DeviceId DeviceId DeviceId

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

public : PlatForm::String DeviceId { get; }public string DeviceId { get; }Public ReadOnly Property DeviceId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

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

Additional features and 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
cellularMessaging

From From From From

Gets the phone number of the sender of the SmsWapMessage.

public : PlatForm::String From { get; }public string From { get; }Public ReadOnly Property From As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The phone number of the sender of the message.

Additional features and 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
cellularMessaging

Headers Headers Headers Headers

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

public : IMap<string, string> Headers { get; }public IDictionary<string, string> Headers { get; }Public ReadOnly Property Headers As IDictionary<string, string>// You can use this property in JavaScript.
Value
IMap<PlatForm::String, PlatForm::String> IDictionary<string, string> IDictionary<string, string> IDictionary<string, string>

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

Additional features and 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
cellularMessaging

MessageClass MessageClass MessageClass MessageClass

Gets the message class of the SmsWapMessage.

public : SmsMessageClass MessageClass { get; }public SmsMessageClass MessageClass { get; }Public ReadOnly Property MessageClass As SmsMessageClass// You can use this property in JavaScript.
Additional features and 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
cellularMessaging
See Also

MessageType MessageType MessageType MessageType

Gets the message type of the SmsWapMessage.

public : SmsMessageType MessageType { get; }public SmsMessageType MessageType { get; }Public ReadOnly Property MessageType As SmsMessageType// You can use this property in JavaScript.
Additional features and 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
cellularMessaging
See Also

SimIccId SimIccId SimIccId SimIccId

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

public : PlatForm::String SimIccId { get; }public string SimIccId { get; }Public ReadOnly Property SimIccId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The ICCID of the SIM.

Additional features and 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
cellularMessaging

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.

public : DateTime Timestamp { get; }public DateTimeOffset Timestamp { get; }Public ReadOnly Property Timestamp As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The timestamp of the message.

Additional features and 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
cellularMessaging

To To To To

Gets the recipient phone number of this SmsWapMessage.

public : PlatForm::String To { get; }public string To { get; }Public ReadOnly Property To As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The recipient phone number of this message.

Additional features and 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
cellularMessaging