SmsEncoding
SmsEncoding
SmsEncoding
SmsEncoding
Enum
Definition
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.
public : enum class SmsEncodingpublic enum SmsEncodingPublic Enum SmsEncoding// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
| Capabilities |
sms
cellularMessaging
|
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. |
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".