CEmsPreDefAnimationIE Class Reference
class CEmsPreDefAnimationIE : public CEmsInformationElement
|
CEmsPreDefAnimationIE
wraps the creation & modification of an EMS predefined animation information element into a single class.
Format of PreDef animation Information Element. -----------------------------------------------
Position (Octet) Bit Description 1 Start Position 2 PreDefined Animation Number
The start position of the information element is relative to the PDU that contains the object. However when within this class it will be an converted to an absolute position within the message.
3gpp Spec V5 section 9.2.3.24.10.1.4
Public Member Enumerations
|
enum
|
TAnimType
{
EFlirty
= 0x0,
EGlad
= 0x1,
ESceptic
= 0x2,
ESad
= 0x3,
EWow
= 0x4,
ECrying
= 0x5,
EWinking
= 0x6,
ELaughing
= 0x7,
EIndifferent
= 0x8,
EKissing
= 0x9,
EConfused
= 0xA,
ETongueOut
= 0xB,
EAngry
= 0xC,
EGlasses
= 0xD,
EDevil
= 0xE
}
|
Constructor & Destructor Documentation
CEmsPreDefAnimationIE(TAnimType)
CEmsPreDefAnimationIE
|
(
|
TAnimType
|
aAnimValue
|
)
|
[private]
|
CEmsPreDefAnimationIE()
CEmsPreDefAnimationIE
|
(
|
)
|
[private]
|
Member Functions Documentation
CopyL(const CEmsPreDefAnimationIE &)
DecodeBodyL(const TPtrC8, TBool)
void
|
DecodeBodyL
|
(
|
const
TPtrC8
|
aPtr,
|
|
TBool
|
aIsFromSerialisation
|
|
)
|
[private, virtual]
|
Decodes the raw data out of an information element into this class.
-
leave
-
KErrargument If the size of the data does not match what is expected.
Parameters
const
TPtrC8
aPtr
|
The raw predefined animation data
|
TBool
aIsFromSerialisation
|
|
EncodeBodyL(TPtr8, TBool)
void
|
EncodeBodyL
|
(
|
TPtr8
|
aPtr,
|
|
TBool
|
aIsForSerialisation
|
|
)
|
const [private, virtual]
|
Encodes the raw Ems information element into a data buffer that can be use to create a normal information element.
Parameters
TPtr8
aPtr
|
the buffer to be used which is to contain the data
|
TBool
aIsForSerialisation
|
|
NewL(TAnimType)
Creates a new Predifined animation class.
-
capability
-
None
Parameters
TAnimType
aAnimValue = EFlirty
|
number of the predefined animations
|
SetAnimationL(TAnimType)
IMPORT_C void
|
SetAnimationL
|
(
|
TAnimType
|
aValue
|
)
|
|
Member Enumerations Documentation
Enum TAnimType
Enumerators
EFlirty = 0x0
|
|
EGlad = 0x1
|
|
ESceptic = 0x2
|
|
ESad = 0x3
|
|
EWow = 0x4
|
|
ECrying = 0x5
|
|
EWinking = 0x6
|
|
ELaughing = 0x7
|
|
EIndifferent = 0x8
|
|
EKissing = 0x9
|
|
EConfused = 0xA
|
|
ETongueOut = 0xB
|
|
EAngry = 0xC
|
|
EGlasses = 0xD
|
|
EDevil = 0xE
|
|
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.