Sms​Encoded​Length 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// You can use this struct in JavaScript.
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
sms cellularMessaging

Fields

ByteCountLastSegment ByteCountLastSegment ByteCountLastSegment ByteCountLastSegment

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

public : field unsigned short ByteCountLastSegmentpublic field uint ByteCountLastSegmentPublic Field ByteCountLastSegment// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
sms cellularMessaging

BytesPerSegment BytesPerSegment BytesPerSegment BytesPerSegment

The number of bytes in each segment of the message.

public : field unsigned short BytesPerSegmentpublic field uint BytesPerSegmentPublic Field BytesPerSegment// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
sms cellularMessaging

CharacterCountLastSegment CharacterCountLastSegment CharacterCountLastSegment CharacterCountLastSegment

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

public : field unsigned short CharacterCountLastSegmentpublic field uint CharacterCountLastSegmentPublic Field CharacterCountLastSegment// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
sms cellularMessaging

CharactersPerSegment CharactersPerSegment CharactersPerSegment CharactersPerSegment

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

public : field unsigned short CharactersPerSegmentpublic field uint CharactersPerSegmentPublic Field CharactersPerSegment// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
sms cellularMessaging

SegmentCount SegmentCount SegmentCount SegmentCount

The number of segments needed to encode the message.

public : field unsigned short SegmentCountpublic field uint SegmentCountPublic Field SegmentCount// You can use this field in JavaScript.
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
sms cellularMessaging