Sdílet prostřednictvím


SmsMessageClass Enum

Definition

This enumerated type specifies the message class of a message. The message class typically originates on the network, not the mobile device.

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 SmsMessageClass
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class SmsMessageClass
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum SmsMessageClass
var value = Windows.Devices.Sms.SmsMessageClass.none
Public Enum SmsMessageClass
Inheritance
SmsMessageClass
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
None 0

No class was specified.

Class0 1

Message should be immediately displayed.

Class1 2

Mobile equipment (ME) specific message.

Class2 3

SIM specific message.

Class3 4

Terminal equipment (TE) specific message. Note that this message type is not currently supported.

Applies to