Jaa


SmsEncodedLength Struct

Definition

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

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband.

public value class SmsEncodedLength
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct SmsEncodedLength
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct SmsEncodedLength
var smsEncodedLength = {
segmentCount : /* Your value */,
characterCountLastSegment : /* Your value */,
charactersPerSegment : /* Your value */,
byteCountLastSegment : /* Your value */,
bytesPerSegment : /* Your value */
}
Public Structure SmsEncodedLength
Inheritance
SmsEncodedLength
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularMessaging sms

Fields

ByteCountLastSegment

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

BytesPerSegment

The number of bytes in each segment of the message.

CharacterCountLastSegment

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

CharactersPerSegment

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

SegmentCount

The number of segments needed to encode the message.

Applies to