Share via


SmsMessageType Enum

Definition

This enumerated type defines the format of the 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 enum class SmsMessageType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SmsMessageType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SmsMessageType
var value = Windows.Devices.Sms.SmsMessageType.binary
Public Enum SmsMessageType
Inheritance
SmsMessageType
Attributes

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

Fields

Name Value Description
Binary 0

The SMS message is in binary format.

Text 1

The SMS message is in text format.

Wap 2

A WAP Push message (an MMS message, for example). This value is supported on UWP app and Windows Phone 8.x app on Windows 10.

App 3

An application-directed message (a visual voicemail message on a specific port, for example). This value is supported on UWP app and Windows Phone 8.x app on Windows 10.

Broadcast 4

A cell broadcast message. This value is supported on UWP app and Windows Phone 8.x app on Windows 10.

Voicemail 5

A legacy voicemail message waiting indication message.

This value is supported on UWP app and Windows Phone 8.x app on Windows 10.

Status 6

A send status message. This value is supported on UWP app and Windows Phone 8.x app on Windows 10.

Applies to