Dela via


SmsBroadcastMessage Class

Definition

Represents a broadcast SMS message.

Note

This functionality is available only 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.

public ref class SmsBroadcastMessage sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SmsBroadcastMessage final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SmsBroadcastMessage
Public NotInheritable Class SmsBroadcastMessage
Inheritance
Object Platform::Object IInspectable SmsBroadcastMessage
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularMessaging sms

Properties

Body

Gets the body of the broadcast SMS message.

BroadcastType

Gets the type of this broadcast SMS message.

CellularClass

Gets the cellular class of this broadcast message.

Channel

Gets the channel associated with the broadcast SMS message.

DeviceId

Gets the device ID of the device that received the broadcast SMS message.

GeographicalScope

Gets the geographical scope associated with this broadcast SMS message.

IsEmergencyAlert

True when the broadcast SMS message is an emergency alert.

IsUserPopupRequested

True when a user popup is requested by this broadcast SMS message.

MessageClass

Gets the message class associated with this broadcast SMS message.

MessageCode

Gets a code value associated with this broadcast SMS message.

MessageType

Gets the message type of the broadcast SMS message.

SimIccId

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

Timestamp

Gets the timestamp of the broadcast SMS message.

To

Gets the recipient phone number of the broadcast SMS message.

UpdateNumber

Gets the update number associated with this broadcast SMS message.

Applies to

See also