CPhCltExtPhoneDialData Class Reference

class CPhCltExtPhoneDialData : public CPhCltDialData

It defines the structure containing dial information.

Fields:

window group - When call is ended, set window group is actived.

show number - Permission to show number. ETrue if it is allowed.

redial - Automatic redial override.

name - Name corresponding to number. Name must be defined if shown number equals to EFalse. contact link - Contact link. you should put always when you are dialing from phonebook contact. tel number - String that is to be dialled. number fields are supported. allow match - Permission to allow match. ETrue if match is to be done. If you are dialing from sim pd or fdn, then this should be EFalse. number entry - Returns whether to return to the number entry on failure

end other calls - Information if the existing calls are ended before this new one is made. Not mandatory. Set only if you know that the call is an emergency call. subaddress - The calling party subaddress. Supports SAT features. Defined in ITU-T I.330 and 3GPP TS 11.14. SATCall - Set whether this is SAT originated call or not. Supports SAT features. bearer - Bearer capabilities. Supports SAT features.

CallType - The type of the call, i.e. voice (default) or video.

SendKey - Call made with SendKey, optional.

Redial maximum duration - Automatic redial maximum duration

Initiate call - true if iniate call false otherwise

UUI - User to user information sent on call setup phase.

phoneclient.lib
Since
3.2 Dial data set for PhoneClient.
ServiceHandler.lib
Since
Series 60 3.2

Inherits from

Public Member Functions
~CPhCltExtPhoneDialData()
IMPORT_C TBoolAllowMatch()
IMPORT_C const TPhCltBearerCapability &Bearer()
IMPORT_C TIntCalculatePackageSize()
IMPORT_C TPhCltCallTypeCallType()
IMPORT_C const TDesC8 &ContactLink()
IMPORT_C TBoolEndOtherCalls()
IMPORT_C TBoolInitiateCall()
IMPORT_C const TPhCltNameBuffer &Name()
IMPORT_C CPhCltExtPhoneDialData *NewL()
IMPORT_C CPhCltExtPhoneDialData *NewL(const TDesC8 &)
IMPORT_C CPhCltExtPhoneDialData *NewLC()
IMPORT_C CPhCltExtPhoneDialData *NewLC(const TDesC8 &)
IMPORT_C HBufC8 *PackLC()
IMPORT_C TIntRedial()
IMPORT_C const TTimeIntervalSecondsRedialMaximumDuration()
IMPORT_C TBoolSATCall()
IMPORT_C TBoolSendKeyPressed()
IMPORT_C TUint32ServiceId()
IMPORT_C voidSetAllowMatch(TBool)
IMPORT_C voidSetBearerL(const TPhCltBearerCapability &)
IMPORT_C voidSetCallType(TPhCltCallType)
IMPORT_C voidSetContactLinkL(const TDesC8 &)
IMPORT_C voidSetEndOtherCalls(TBool)
IMPORT_C voidSetInitiateCall(TBool)
IMPORT_C voidSetNameL(const TPhCltNameBuffer &)
voidSetParamsL(const TDesC8 &)
IMPORT_C voidSetRedial(TInt)
IMPORT_C voidSetRedialMaximumDuration(TTimeIntervalSeconds)
IMPORT_C voidSetReturnToNumberEntryOnFailure(TBool)
IMPORT_C voidSetSATCall(TBool)
IMPORT_C voidSetSendKeyPressed(TBool)
IMPORT_C voidSetServiceId(TUint32)
IMPORT_C voidSetShowNumber(TBool)
IMPORT_C voidSetSubAddressL(const TPhCltSubAddress &)
IMPORT_C voidSetTelephoneNumber(const TPhCltTelephoneNumber &)
IMPORT_C voidSetUUIL(const TDesC &)
IMPORT_C voidSetWindowGroup(TInt)
IMPORT_C TBoolShowNumber()
IMPORT_C const TPhCltSubAddress &SubAddress()
IMPORT_C const TPhCltTelephoneNumber &TelephoneNumber()
IMPORT_C const TDesC &UUI()
IMPORT_C TIntWindowGroup()
Private Member Functions
CPhCltExtPhoneDialData()
TInt CalculateDescriptorSize(const TDesC &)
TInt CalculateDescriptorSize(const TDesC8 &)
voidCheckDescriptorMaxLengthL(TInt, TInt)
voidConstructL()
voidConstructL(const TDesC8 &)
voidCopyDescriptorToMemberDescriptorL(const TDesC &, HBufC *&)
voidCopyDescriptorToMemberDescriptorL(const TDesC8 &, HBufC8 *&)
voidReadDescriptorFromStreamL(RDesReadStream &, HBufC8 *&)
voidReadDescriptorFromStreamL(RDesReadStream &, HBufC *&)
voidWriteDescriptorToStreamL(RDesWriteStream &, const TDesC8 &)
voidWriteDescriptorToStreamL(RDesWriteStream &, const TDesC &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CPhCltDialData::CPhCltDialData()
CPhCltDialData::~CPhCltDialData()
Public Member Enumerations
enumTPhCltCallFlags {
EPhCltCallFlagsDefault = 0x0000, EPhCltCallFlagsAllowNumberShowing = 0x0001, EPhCltCallFlagsReturnToNumberEntryOnFailure = 0x0002, EPhCltCallFlagsAllowPersonalDirectoryMatching = 0x0004, EPhCltCallFlagsEndBeforeDial = 0x0008, EPhCltCallFlagsSAT = 0x0020, EPhCltCallFlagsVideoCall = 0x0040, EPhCltCallFlagsVoIPCall = 0x0080, EPhCltCallFlagsSendKey = 0x0100
}
Inherited Attributes
CPhCltDialData::iAllowMatch
CPhCltDialData::iBearer
CPhCltDialData::iCallType
CPhCltDialData::iContactLink
CPhCltDialData::iEndOtherCalls
CPhCltDialData::iFlags
CPhCltDialData::iInitCall
CPhCltDialData::iName
CPhCltDialData::iRedial
CPhCltDialData::iRedialMaximumDuration
CPhCltDialData::iReturnToNumberEntryOnFailure
CPhCltDialData::iSATCall
CPhCltDialData::iSendKey
CPhCltDialData::iServiceId
CPhCltDialData::iShowNumber
CPhCltDialData::iSubAddress
CPhCltDialData::iTelNumber
CPhCltDialData::iUUI
CPhCltDialData::iWindowGroup

Constructor & Destructor Documentation

CPhCltExtPhoneDialData()

CPhCltExtPhoneDialData()[private]
C++ default constructor.
Since
Series 60 3.2

~CPhCltExtPhoneDialData()

IMPORT_C~CPhCltExtPhoneDialData()[virtual]

Destructor.

Member Functions Documentation

AllowMatch()

IMPORT_C TBoolAllowMatch()const [virtual]
Defines if mathing is allowed.
Since
Series 60 3.2

Bearer()

IMPORT_C const TPhCltBearerCapability &Bearer()const [virtual]
Bearer capability.
Since
Series 60 3.2

CalculateDescriptorSize(const TDesC &)

TInt CalculateDescriptorSize(const TDesC &aDescriptor)const [private]
Calculates variable descriptor size
Since
Series 60 3.2

Parameters

const TDesC & aDescriptorwhich size is calculated

CalculateDescriptorSize(const TDesC8 &)

TInt CalculateDescriptorSize(const TDesC8 &aDescriptor)const [private]
Calculates variable descriptor size
Since
Series 60 3.2

Parameters

const TDesC8 & aDescriptorwhich size is calculated

CalculatePackageSize()

IMPORT_C TIntCalculatePackageSize()const

CallType()

IMPORT_C TPhCltCallTypeCallType()const [virtual]
Gives the current call type.
Since
Series 60 3.2

CheckDescriptorMaxLengthL(TInt, TInt)

voidCheckDescriptorMaxLengthL(TIntaDescriptorLength,
TIntaMaxAllowedDescriptorLength
)const [private]
Check descriptor max length Leaves with KErrArgument if aDescriptorLength is greated that aMaxAllowedDescriptorLenght
Since
Series 60 3.2

Parameters

TInt aDescriptorLengthis descriptor length
TInt aMaxAllowedDescriptorLengthmaximum allowed descriptor length

ConstructL()

voidConstructL()[private]
By default Symbian 2nd phase constructor is private.
Since
Series 60 3.2

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aPackage)[private]
By default Symbian 2nd phase constructor is private.
Since
Series 60 3.2

Parameters

const TDesC8 & aPackageincluding dial data

ContactLink()

IMPORT_C const TDesC8 &ContactLink()const [virtual]
Contact link field.
Since
Series 60 3.2

CopyDescriptorToMemberDescriptorL(const TDesC &, HBufC *&)

voidCopyDescriptorToMemberDescriptorL(const TDesC &aSource,
HBufC *&aMemberDescriptor
)[private]
Copy descriptor value to member descriptor
Since
Series 60 3.2

Parameters

const TDesC & aSourcewhich is as copy source
HBufC *& aMemberDescriptoris as copy destination

CopyDescriptorToMemberDescriptorL(const TDesC8 &, HBufC8 *&)

voidCopyDescriptorToMemberDescriptorL(const TDesC8 &aSource,
HBufC8 *&aMemberDescriptor
)[private]
Copy descriptor value to member descriptor
Since
Series 60 3.2

Parameters

const TDesC8 & aSourcewhich is as copy source
HBufC8 *& aMemberDescriptoris as copy destination

EndOtherCalls()

IMPORT_C TBoolEndOtherCalls()const [virtual]
End other calls param.
Since
Series 60 3.2

InitiateCall()

IMPORT_C TBoolInitiateCall()const [virtual]
Intiate Call
Since
Series 60 3.2

Name()

IMPORT_C const TPhCltNameBuffer &Name()const [virtual]
Name.
Since
Series 60 3.2

NewL()

IMPORT_C CPhCltExtPhoneDialData *NewL()[static]

Two-phased constructor.

NewL(const TDesC8 &)

IMPORT_C CPhCltExtPhoneDialData *NewL(const TDesC8 &aPackage)[static]

Two-phased constructor.

Parameters

const TDesC8 & aPackage

NewLC()

IMPORT_C CPhCltExtPhoneDialData *NewLC()[static]

Two-phased constructor.

NewLC(const TDesC8 &)

IMPORT_C CPhCltExtPhoneDialData *NewLC(const TDesC8 &aPackage)[static]

Two-phased constructor.

Parameters

const TDesC8 & aPackage

PackLC()

IMPORT_C HBufC8 *PackLC()
Fills the parameter list.
Since
Series 60 3.2

ReadDescriptorFromStreamL(RDesReadStream &, HBufC8 *&)

voidReadDescriptorFromStreamL(RDesReadStream &aStream,
HBufC8 *&aDescriptor
)[private]
Read descriptor value from stream
Since
Series 60 3.2

Parameters

RDesReadStream & aStreamused stream
HBufC8 *& aDescriptorwhich is read from stream

ReadDescriptorFromStreamL(RDesReadStream &, HBufC *&)

voidReadDescriptorFromStreamL(RDesReadStream &aStream,
HBufC *&aDescriptor
)[private]
Read descriptor value from stream
Since
Series 60 3.2

Parameters

RDesReadStream & aStreamused stream
HBufC *& aDescriptorwhich is read from stream

Redial()

IMPORT_C TIntRedial()const [virtual]
Redial information.
Since
Series 60 3.2

RedialMaximumDuration()

IMPORT_C const TTimeIntervalSecondsRedialMaximumDuration()const [virtual]
Redial maximum duration
Since
Series 60 3.2

SATCall()

IMPORT_C TBoolSATCall()const [virtual]
Return in failure.
Since
Series 60 3.2
Since
Series 60 3.2

SendKeyPressed()

IMPORT_C TBoolSendKeyPressed()const [virtual]
SendKey pressed.
Since
Series 60 3.2

ServiceId()

IMPORT_C TUint32ServiceId()const [virtual]

Service Id. VoIP2.2 implementation

SetAllowMatch(TBool)

IMPORT_C voidSetAllowMatch(TBoolaAllowMatch)[virtual]
Set whether the name entered in SetName should be matched against the personal directory.
Since
Series 60 3.2 This should be set EFalse only if phone number has not been taken from phonebook.

Parameters

TBool aAllowMatchWhether to allow matches.

SetBearerL(const TPhCltBearerCapability &)

IMPORT_C voidSetBearerL(const TPhCltBearerCapability &aBearer)[virtual]
Set the bearer capability.
Since
Series 60 3.2

Parameters

const TPhCltBearerCapability & aBearerThe bearer capabilities as defined in GSM 04.08. KErrArgument if aBearer's length is longer than KAiwBearerLength

SetCallType(TPhCltCallType)

IMPORT_C voidSetCallType(TPhCltCallTypeaCallType)[virtual]
Sets call type.
Since
Series 60 3.2

Parameters

TPhCltCallType aCallTypecalls' type.

SetContactLinkL(const TDesC8 &)

IMPORT_C voidSetContactLinkL(const TDesC8 &aContactLink)[virtual]
Set contact link.
Since
Series 60 3.2

Parameters

const TDesC8 & aContactLinkContact link information.

SetEndOtherCalls(TBool)

IMPORT_C voidSetEndOtherCalls(TBoolaEndCalls)[virtual]
Set parameter for end other calls.
Since
Series 60 3.2 If this is set to ETrue, other calls will be terminated before dial. Default is EFalse.

Parameters

TBool aEndCallsAre the other calls ended.

SetInitiateCall(TBool)

IMPORT_C voidSetInitiateCall(TBoolaInitCall)[virtual]
Set Initiate call Etrue or EFalse
Since
Series 60 3.2

Parameters

TBool aInitCallETrue if call is intiate call

SetNameL(const TPhCltNameBuffer &)

IMPORT_C voidSetNameL(const TPhCltNameBuffer &aName)[virtual]
Set the name of the person who is to be called.
Since
Series 60 3.2

Parameters

const TPhCltNameBuffer & aNameThe name of the person being called. KErrArgument if aName length is over 50 characters.

SetParamsL(const TDesC8 &)

voidSetParamsL(const TDesC8 &aPackage)

Parameters

const TDesC8 & aPackage

SetRedial(TInt)

IMPORT_C voidSetRedial(TIntaRedial)[virtual]
Change the redial mode.
Since
Series 60 3.2

Parameters

TInt aRedialThe new redial status

SetRedialMaximumDuration(TTimeIntervalSeconds)

IMPORT_C voidSetRedialMaximumDuration(TTimeIntervalSecondsaMaximumRedialDuration)[virtual]
Set redial max duration.
Since
Series 60 3.2

Parameters

TTimeIntervalSeconds aMaximumRedialDuration

SetReturnToNumberEntryOnFailure(TBool)

IMPORT_C voidSetReturnToNumberEntryOnFailure(TBoolaReturn)

Set whether to return to number entry.

Parameters

TBool aReturnWhether to return to the number entry editor.

SetSATCall(TBool)

IMPORT_C voidSetSATCall(TBoolaSATCall)[virtual]
Set wheteher this is a SAT originated call or not. If this function is not called, the originator is assumed to be other than SAT.
Since
Series 60 3.2

Parameters

TBool aSATCallETrue if SAT originated the call, EFalse otherwise.

SetSendKeyPressed(TBool)

IMPORT_C voidSetSendKeyPressed(TBoolaSendKey)[virtual]
Set the value of SendKey.
Since
Series 60 3.2

Parameters

TBool aSendKeyThe value of SendKey.

SetServiceId(TUint32)

IMPORT_C voidSetServiceId(TUint32aServiceId)[virtual]

Set the value of xSP Service Id.

Parameters

TUint32 aServiceIdThe value of Service Id.

SetShowNumber(TBool)

IMPORT_C voidSetShowNumber(TBoolaShowNumber)[virtual]
Set the number visibility in the phone app.
Since
Series 60 3.2 If this is set to EFalse, then number is not shown or written to log event.

Parameters

TBool aShowNumberWhether or not to show the number.

SetSubAddressL(const TPhCltSubAddress &)

IMPORT_C voidSetSubAddressL(const TPhCltSubAddress &aSubAddress)[virtual]
Set the calling party subaddress. Defined in ITU-T I.330 and 3GPP TS 11.14.
Since
Series 60 3.2

Parameters

const TPhCltSubAddress & aSubAddressThe calling party subaddress. KErrArgument if aSubAddress length is longer than KAiwSubAddressLength

SetTelephoneNumber(const TPhCltTelephoneNumber &)

IMPORT_C voidSetTelephoneNumber(const TPhCltTelephoneNumber &aNumber)[virtual]
Sets the phone number.
Since
Series 60 3.2

Parameters

const TPhCltTelephoneNumber & aNumberPhone number, which maximum length is KMaximumPhoneNumberLength. KErrArgument if aPhoneNumber length is over KMaximumPhoneNumberLength

SetUUIL(const TDesC &)

IMPORT_C voidSetUUIL(const TDesC &aUUI)[virtual]
Sets user to user information. Maximum length is KPhCltUUILength.
Since
S60 v3.2

Parameters

const TDesC & aUUIUser to user information.

SetWindowGroup(TInt)

IMPORT_C voidSetWindowGroup(TIntaWindowGroup)[virtual]
Sets the window group identifier. When call is ended, set window group is actived.
Since
Series 60 3.2

Parameters

TInt aWindowGroupWindow group id.

ShowNumber()

IMPORT_C TBoolShowNumber()const [virtual]
Show Number.
Since
Series 60 3.2

SubAddress()

IMPORT_C const TPhCltSubAddress &SubAddress()const [virtual]
Sub address.
Since
Series 60 3.2

TelephoneNumber()

IMPORT_C const TPhCltTelephoneNumber &TelephoneNumber()const [virtual]
Gives the current phone number.
Since
Series 60 3.2

UUI()

IMPORT_C const TDesC &UUI()const [virtual]
Gives the user to user information.
Since
S60 v3.2

WindowGroup()

IMPORT_C TIntWindowGroup()const [virtual]
Gives the current window group id.
Since
Series 60 3.2

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC8 &)

voidWriteDescriptorToStreamL(RDesWriteStream &aStream,
const TDesC8 &aDescriptor
)[private]
Write descriptor value to stream
Since
Series 60 3.2

Parameters

RDesWriteStream & aStreamused stream
const TDesC8 & aDescriptorwhich value is write to stream

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC &)

voidWriteDescriptorToStreamL(RDesWriteStream &aStream,
const TDesC &aDescriptor
)[private]
Write descriptor value to stream
Since
Series 60 3.2

Parameters

RDesWriteStream & aStreamused stream
const TDesC & aDescriptorwhich value is write to stream

Member Enumerations Documentation

Enum TPhCltCallFlags

Enumerators

EPhCltCallFlagsDefault = 0x0000
EPhCltCallFlagsAllowNumberShowing = 0x0001
EPhCltCallFlagsReturnToNumberEntryOnFailure = 0x0002
EPhCltCallFlagsAllowPersonalDirectoryMatching = 0x0004
EPhCltCallFlagsEndBeforeDial = 0x0008
EPhCltCallFlagsSAT = 0x0020
EPhCltCallFlagsVideoCall = 0x0040
EPhCltCallFlagsVoIPCall = 0x0080
EPhCltCallFlagsSendKey = 0x0100