Sms​Encoded​Length Sms​Encoded​Length Sms​Encoded​Length Struct

Definition

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

public struct SmsEncodedLengthpublic struct SmsEncodedLengthPublic Structure SmsEncodedLength
Attributes
Windows 10 requirements
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
cellularMessaging sms

Fields

ByteCountLastSegment ByteCountLastSegment ByteCountLastSegment

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

public field uint ByteCountLastSegmentpublic field uint ByteCountLastSegmentPublic Field ByteCountLastSegment
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging sms

BytesPerSegment BytesPerSegment BytesPerSegment

The number of bytes in each segment of the message.

public field uint BytesPerSegmentpublic field uint BytesPerSegmentPublic Field BytesPerSegment
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging sms

CharacterCountLastSegment CharacterCountLastSegment CharacterCountLastSegment

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

public field uint CharacterCountLastSegmentpublic field uint CharacterCountLastSegmentPublic Field CharacterCountLastSegment
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging sms

CharactersPerSegment CharactersPerSegment CharactersPerSegment

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

public field uint CharactersPerSegmentpublic field uint CharactersPerSegmentPublic Field CharactersPerSegment
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging sms

SegmentCount SegmentCount SegmentCount

The number of segments needed to encode the message.

public field uint SegmentCountpublic field uint SegmentCountPublic Field SegmentCount
Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
cellularMessaging sms