SmsEncodedLength structure
Collapse the table of content
Expand the table of content

SmsEncodedLength structure

This structure represents information about the length of an SmsTextMessage object when it is encoded as a PDU.

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


Public Structure SmsEncodedLength

Members

The SmsEncodedLength structure has these fields.

FieldData typeDescription
ByteCountLastSegment | byteCountLastSegment

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The number of bytes in the last segment of the encoded message.

BytesPerSegment | bytesPerSegment

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The number of bytes in each segment of the message.

CharacterCountLastSegment | characterCountLastSegment

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The number of characters in the last segment of the encoded message.

CharactersPerSegment | charactersPerSegment

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The estimated number of characters that can fit in one segment of the message.

SegmentCount | segmentCount

Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]

The number of segments needed to encode the message.

 

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

sms
cellularMessaging

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
cellularMessaging

Attributes

[Version(0x06020000)]

 

 

Show:
© 2017 Microsoft