SmsEncoding SmsEncoding SmsEncoding SmsEncoding Enum

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 app given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: device apps.

Syntax

Declaration

public enum SmsEncodingpublic enum SmsEncodingPublic Enum SmsEncodingpublic enum SmsEncoding

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".

Fields

EightBit
EightBit
EightBit
EightBit

Standard eight bit encoding.

GsmSevenBit
GsmSevenBit
GsmSevenBit
GsmSevenBit

Standard 7-bit GSM encoding.

IA5
IA5
IA5
IA5

IA5 encoding.

Korean
Korean
Korean
Korean

Korean encoding.

Latin
Latin
Latin
Latin

Latin encoding.

LatinHebrew
LatinHebrew
LatinHebrew
LatinHebrew

Latin Hebrew encoding.

Optimal
Optimal
Optimal
Optimal

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

SevenBitAscii
SevenBitAscii
SevenBitAscii
SevenBitAscii

Seven-bit ASCII encoding.

ShiftJis
ShiftJis
ShiftJis
ShiftJis

Shift-JIS encoding for the Japanese language.

Unicode
Unicode
Unicode
Unicode

Unicode encoding.

Unknown
Unknown
Unknown
Unknown

The data encoding is unknown.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Capabilities

cellularMessaging
sms

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute

Details

Assembly

Windows.Devices.Sms.dll