SmsBroadcastMessage
SmsBroadcastMessage
SmsBroadcastMessage
SmsBroadcastMessage
Class
Definition
Represents a broadcast SMS 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 SmsBroadcastMessage : ISmsBroadcastMessage, ISmsMessageBasepublic sealed class SmsBroadcastMessage : ISmsBroadcastMessage, ISmsMessageBasePublic NotInheritable Class SmsBroadcastMessage Implements ISmsBroadcastMessage, ISmsMessageBase// You can use this class in JavaScript.
- Attributes
| 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
Body Body Body Body
Gets the body of the broadcast SMS message.
public : PlatForm::String Body { get; }public string Body { get; }Public ReadOnly Property Body As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The body of the broadcast SMS message.
| 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
|
BroadcastType BroadcastType BroadcastType BroadcastType
Gets the type of this broadcast SMS message.
public : SmsBroadcastType BroadcastType { get; }public SmsBroadcastType BroadcastType { get; }Public ReadOnly Property BroadcastType As SmsBroadcastType// You can use this property in JavaScript.
An enumeration value describing the type of the message.
| 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 this broadcast message.
public : CellularClass CellularClass { get; }public CellularClass CellularClass { get; }Public ReadOnly Property CellularClass As CellularClass// You can use this property in JavaScript.
An enumeration value describing the cellular class of the message.
| 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
|
Channel Channel Channel Channel
Gets the channel associated with the broadcast SMS message.
public : int Channel { get; }public int Channel { get; }Public ReadOnly Property Channel As int// You can use this property in JavaScript.
- Value
- int int int int
The channel for this message.
| 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 device ID of the device that received the broadcast SMS 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 unique device ID of the device that received the message.
| 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
|
GeographicalScope GeographicalScope GeographicalScope GeographicalScope
Gets the geographical scope associated with this broadcast SMS message.
public : SmsGeographicalScope GeographicalScope { get; }public SmsGeographicalScope GeographicalScope { get; }Public ReadOnly Property GeographicalScope As SmsGeographicalScope// You can use this property in JavaScript.
An enumeration value describing the geographical scope associated with this message.
| 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
|
IsEmergencyAlert IsEmergencyAlert IsEmergencyAlert IsEmergencyAlert
True when the broadcast SMS message is an emergency alert.
public : PlatForm::Boolean IsEmergencyAlert { get; }public bool IsEmergencyAlert { get; }Public ReadOnly Property IsEmergencyAlert As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True when the broadcast SMS message is an emergency alert.
| 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
|
IsUserPopupRequested IsUserPopupRequested IsUserPopupRequested IsUserPopupRequested
True when a user popup is requested by this broadcast SMS message.
public : PlatForm::Boolean IsUserPopupRequested { get; }public bool IsUserPopupRequested { get; }Public ReadOnly Property IsUserPopupRequested As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
True when a user popup is requested by this broadcast SMS message.
| 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 associated with this broadcast SMS message.
public : SmsMessageClass MessageClass { get; }public SmsMessageClass MessageClass { get; }Public ReadOnly Property MessageClass As SmsMessageClass// You can use this property in JavaScript.
Enumeration value describing the message class of this message.
| 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
|
MessageCode MessageCode MessageCode MessageCode
Gets a code value associated with this broadcast SMS message.
public : int MessageCode { get; }public int MessageCode { get; }Public ReadOnly Property MessageCode As int// You can use this property in JavaScript.
- Value
- int int int int
The code value associated with this message.
| 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 the broadcast SMS message.
public : SmsMessageType MessageType { get; }public SmsMessageType MessageType { get; }Public ReadOnly Property MessageType As SmsMessageType// You can use this property in JavaScript.
An enumeration value describing the message type.
| 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.
| 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 broadcast SMS 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. Timestamp value is specified by the service center.
| 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 the broadcast SMS message.
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
A string representation of the phone number, formatted in the phone number format favored by the device and the network that the device is registered on.
| 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
|
UpdateNumber UpdateNumber UpdateNumber UpdateNumber
Gets the update number associated with this broadcast SMS message.
public : int UpdateNumber { get; }public int UpdateNumber { get; }Public ReadOnly Property UpdateNumber As int// You can use this property in JavaScript.
- Value
- int int int int
The update number of the message.
| 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
|