SmsEncoding enumeration

Applies to Windows only

This enumerated type is used to determine the encoding algorithm to send or calculate the length of an SmsTextMessage object.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


var value = Windows.Devices.Sms.SmsEncoding.unknown;

Attributes

[Version(0x06020000)]

Members

The SmsEncoding enumeration has these members.

MemberValueDescription
Unknown | unknown0

The data encoding is unknown.

Optimal | optimal1

7-bit encoding if all characters can be represented, otherwise 2-byte Universal Character Set (UCS-2) encoding.

SevenBitAscii | sevenBitAscii2

Not supported. Do not use.

Unicode | unicode3

Not supported. Do not use.

GsmSevenBit | gsmSevenBit4

Standard 7-bit per octet ASCII encoding.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Devices.Sms
Windows::Devices::Sms [C++]

Metadata

Windows.winmd

Capabilities

sms

 

 

Show:
© 2014 Microsoft