ISmsMessageBase ISmsMessageBase ISmsMessageBase ISmsMessageBase Interface

Definition

This interface specifies base functionality for all SMS message types.

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 : interface ISmsMessageBasepublic interface ISmsMessageBasePublic Interface ISmsMessageBase// You can use this interface 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

Properties

CellularClass CellularClass CellularClass CellularClass

Gets the cellular class of 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

An enumeration value specifying the cellular class 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

DeviceId DeviceId DeviceId DeviceId

Gets the unique device identifier associated with this message.

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 identifier, as a string.

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 this message.

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

An enumeration value specifying the SMS message class 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

MessageType MessageType MessageType MessageType

Gets the message type of this message.

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

An enumeration value specifying the message type 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

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