CEnhancedVoiceMailBoxInformation Class Reference
class CEnhancedVoiceMailBoxInformation : public CBase
|
This is the base class for Enhanced Voice Mail Notifications and Enhanced Voice Mail Delete Confirmations. It encapsulates the attributes and encoding / decoding algorithms common to both types of Enhanced Voice Mail Information Element.
Inherits from
-
CEnhancedVoiceMailBoxInformation
Constructor & Destructor Documentation
CEnhancedVoiceMailBoxInformation()
CEnhancedVoiceMailBoxInformation
|
(
|
)
|
[protected]
|
CEnhancedVoiceMailBoxInformation(TVoiceMailInfoType)
CEnhancedVoiceMailBoxInformation
|
(
|
TVoiceMailInfoType
|
aTVoiceMailInfoType
|
)
|
[protected]
|
Parameters
TVoiceMailInfoType
aTVoiceMailInfoType
|
|
CEnhancedVoiceMailBoxInformation(const CEnhancedVoiceMailBoxInformation &)
Prevent clients from using the copy constructor by including it in the class definition but making it protected and not exporting it.
~CEnhancedVoiceMailBoxInformation()
~CEnhancedVoiceMailBoxInformation
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructL()
void
|
ConstructL
|
(
|
)
|
[protected]
|
DecodeL(TGsmuLex8 &, CCnvCharacterSetConverter &, RFs &)
DoSetParsedAddressL(const TDesC &)
void
|
DoSetParsedAddressL
|
(
|
const
TDesC
&
|
aAddress
|
)
|
[protected]
|
EncodeL(TUint8 *, CCnvCharacterSetConverter &, RFs &)
MaximumCapacity()
IMPORT_C
TBool
|
MaximumCapacity
|
(
|
)
|
const
|
NewBufferL(TInt)
void
|
NewBufferL
|
(
|
TInt
|
aLength
|
)
|
[protected]
|
NumberOfVoiceMessages()
IMPORT_C
TUint8
|
NumberOfVoiceMessages
|
(
|
)
|
const
|
ParsedAccessAddress(TGsmSmsTelNumber &)
Used to get the voice mail box number as a parsed address.
Parameters
TGsmSmsTelNumber
& aParsedAddress
|
An output parameter which is set to the parsed address.
|
SetAccessAddressL(const TDesC &)
IMPORT_C void
|
SetAccessAddressL
|
(
|
const
TDesC
&
|
aParsedAddress
|
)
|
|
Used to set the voice mail box number, overwriting any pre-existing number.
Parameters
const
TDesC
& aParsedAddress
|
The voice mail box address.
|
SetAlmostMaximumCapacity(TBool)
IMPORT_C void
|
SetAlmostMaximumCapacity
|
(
|
TBool
|
aIsAlmostFull
|
)
|
|
SetMaximumCapacity(TBool)
IMPORT_C void
|
SetMaximumCapacity
|
(
|
TBool
|
aIsFull
|
)
|
|
Used to set or reset the voice mail status to full.
SetNumberOfVoiceMessages(TUint8)
IMPORT_C void
|
SetNumberOfVoiceMessages
|
(
|
TUint8
|
aNumber
|
)
|
|
Sets the number of voice messages to a value in the range 0 to 255.
Parameters
TUint8
aNumber
|
The number of voice messages.
|
SetParsedAccessAddressL(const TGsmSmsTelNumber &)
IMPORT_C void
|
SetParsedAccessAddressL
|
(
|
const
TGsmSmsTelNumber
&
|
aParsedAddress
|
)
|
|
Used to set the voice mail box number as a parsed address
Parameters
const
TGsmSmsTelNumber
& aParsedAddress
|
The parsed address to be used as the voice mail box number.
|
SetProfile(TSmsMessageProfileType)
IMPORT_C void
|
SetProfile
|
(
|
TSmsMessageProfileType
|
aProfile
|
)
|
|
Parameters
TSmsMessageProfileType
aProfile
|
|
SetStorage(TBool)
IMPORT_C void
|
SetStorage
|
(
|
TBool
|
aIsStored
|
)
|
|
Configures the storage directive
Parameters
TBool
aIsStored
|
Set to True if the SM is to be stored in the ME or USIM, False is the SM is to be discarded.
|
Store()
IMPORT_C
TBool
|
Store
|
(
|
)
|
const
|
Indicates whether the SM is to be stored or discarded
Type()
IMPORT_C
TVoiceMailInfoType
|
Type
|
(
|
)
|
const
|
Indicates whether this message is a Voice Mail Notification or a Voice Mail Deletion Confirmation.
operator=(const CEnhancedVoiceMailBoxInformation &)
operator==(const CEnhancedVoiceMailBoxInformation &)
Prevent clients from using the equality operator by including it in the class definition but making it protected and not exporting it.
Member Enumerations Documentation
Enum anonymous
Enumerators
KSmsMaxEnhancedVoiceMailSize = CSmsUserData::KSmsMaxUserDataSize - 3
|
|
Enum TBitMasks
Enumerators
EMask1Bit = 0x01
|
|
EMask2Bits = 0x03
|
|
EMask4Bits = 0x0F
|
|
Member Data Documentation
HBufC * iAccessAddress
HBufC
*
|
iAccessAddress
|
[protected]
|
TBool
iAlmostFull
TBool
|
iAlmostFull
|
[protected]
|
TBool
iExtensionIndicator
TBool
|
iExtensionIndicator
|
[protected]
|
TUint8
iNumberOfVoiceMessages
TUint8
|
iNumberOfVoiceMessages
|
[protected]
|
TBool
iOctet1Bit1
TBool
|
iOctet1Bit1
|
[protected]
|
TSmsMessageProfileType
iProfile
TSmsMessageProfileType
|
iProfile
|
[protected]
|
TBool
iStorage
TBool
|
iStorage
|
[protected]
|
TVoiceMailInfoType
iType
TVoiceMailInfoType
|
iType
|
[protected]
|
TGsmSmsTypeOfAddress
iTypeOfAddress
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.