Windows Dev Center

SmsEncoding enumeration

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;

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

Seven-bit ASCII encoding.

Unicode | unicode3

Unicode encoding.

GsmSevenBit | gsmSevenBit4

Standard 7-bit GSM encoding.

EightBit | eightBit5

Standard eight bit encoding.

Latin | latin6

Latin encoding.

Korean | korean7

Korean encoding.

IA5 | iA58

IA5 encoding.

ShiftJis | shiftJis9

Shift-JIS encoding for the Japanese language.

LatinHebrew | latinHebrew10

Latin Hebrew encoding.

Remarks

The encodings are defined in sections 4.5.2 and 23.038 of the 3GPP2 specification C.S0015-B "Short Message Service (SM) for Wideband Spread Spectrum Systems".

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

sms

Requirements (Windows 8.x and Windows Phone 8.x)

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

Attributes

[Version(0x06020000)]

 

 

Show:
© 2015 Microsoft