TSmsUserDataSettings Class Reference

#include <gsmuset.h>

Link against: gsmu.lib

class TSmsUserDataSettings
Public Member Functions
TSmsUserDataSettings()
TSmsDataCodingScheme::TSmsAlphabet Alphabet()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C voidInternalizeL(RReadStream &)
voidSetAlphabet(TSmsDataCodingScheme::TSmsAlphabet)
voidSetTextCompressed(TBool)
IMPORT_C voidSetTextConcatenated(TBool, TBool)
TBool TextCompressed()
IMPORT_C TBoolTextConcatenated(TBool *)

Detailed Description

Operations on TP-UD User Data.

Constructor & Destructor Documentation

TSmsUserDataSettings ( )

IMPORT_CTSmsUserDataSettings()

Constructor - initialises iAlphabet and iFlags

Capability
None

Member Function Documentation

Alphabet ( )

TSmsDataCodingScheme::TSmsAlphabet Alphabet()const [inline]

ExternalizeL ( RWriteStream & )

IMPORT_C voidExternalizeL(RWriteStream &aStream)const

Externalises the object.

Parameters
aStreamStream to write to
Capability
None

InternalizeL ( RReadStream & )

IMPORT_C voidInternalizeL(RReadStream &aStream)

Internalises the object.

Parameters
aStreamStream to read from
Capability
None

SetAlphabet ( TSmsDataCodingScheme::TSmsAlphabet )

voidSetAlphabet(TSmsDataCodingScheme::TSmsAlphabetaAlphabet)[inline]

Sets the Alphabet for the User Data.

Parameters
aAlphabetAlphabet

SetTextCompressed ( TBool )

voidSetTextCompressed(TBoolaCompressed)[inline]

Sets if the message text is compressed.

Parameters
aCompressedTrue if the message text is compressed

SetTextConcatenated ( TBool, TBool )

IMPORT_C voidSetTextConcatenated(TBoolaConcatenated,
TBoolaIs16Bit = EFalse
)

Sets concatenation on/off.

Parameters
aConcatenatedTrue to set concatenation on
aIs16BitSet to true to set 16 bit concatenation reference (default 8 bit)
Capability
None

TextCompressed ( )

TBool TextCompressed()const [inline]

Tests if the message text is compressed.

Return Value
True if the message text is compressed

TextConcatenated ( TBool * )

IMPORT_C TBoolTextConcatenated(TBool *aIs16Bit = 0)const

Tests if User Data is concatenated using a 16 bit reference.

Parameters
aIs16BitSet to true if concatenated using a 16 bit reference
Return Value
True if concatenated set as on
Capability
None