SmsMessageReceivedTriggerDetails SmsMessageReceivedTriggerDetails SmsMessageReceivedTriggerDetails SmsMessageReceivedTriggerDetails SmsMessageReceivedTriggerDetails Class


Contains event details for the event raised when an SMS message is received.


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 SmsMessageReceivedTriggerDetails
struct winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails
public sealed class SmsMessageReceivedTriggerDetails
Public NotInheritable Class SmsMessageReceivedTriggerDetails
// 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


You access an SmsMessageReceivedTriggerDetails object through the function that you implement to handle the SmsMessageRegistration.MessageReceived event.

Your filtering code is required to acknowledge each filtered message by calling Drop or Accept before it can process the next message.


AppMessage AppMessage AppMessage AppMessage AppMessage

When MessageType is App, the message details for the message.

BroadcastMessage BroadcastMessage BroadcastMessage BroadcastMessage BroadcastMessage

When MessageType is Broadcast, the message details for the message.

MessageType MessageType MessageType MessageType MessageType

The SmsMessageType of the received message.

StatusMessage StatusMessage StatusMessage StatusMessage StatusMessage

When MessageType is Status, the message details for the message.

TextMessage TextMessage TextMessage TextMessage TextMessage

When MessageType is Text, the message details for the message.

VoicemailMessage VoicemailMessage VoicemailMessage VoicemailMessage VoicemailMessage

When MessageType is Voicemail, the message details for the message.

WapMessage WapMessage WapMessage WapMessage WapMessage

When MessageType is Wap, the message details for the message.


Accept() Accept() Accept() Accept() Accept()

Delivers the filtered message to the messaging app.

Drop() Drop() Drop() Drop() Drop()

Drops the filtered message, so that it is not passed on to the messaging app.