CAiwInternalDialData Class Reference

class CAiwInternalDialData : public CBase

Dial data for SAT application.

aiwdialdata.lib
Since
S60 3.2

Inherits from

  • CAiwInternalDialData
Public Member Functions
~CAiwInternalDialData()
IMPORT_C TBoolAllowMatch()
IMPORT_C const TDesC8 &Bearer()
IMPORT_C CAiwDialData::TCallTypeCallType()
IMPORT_C const TDesC8 &ContactLink()
IMPORT_C TBoolEndOtherCalls()
IMPORT_C voidFillInParamListL(CAiwGenericParamList &)
IMPORT_C TBoolInitiateCall()
IMPORT_C const TDesC &Name()
IMPORT_C CAiwInternalDialData *NewL()
IMPORT_C CAiwInternalDialData *NewL(const TDesC8 &)
IMPORT_C CAiwInternalDialData *NewLC()
IMPORT_C CAiwInternalDialData *NewLC(const TDesC8 &)
IMPORT_C const TDesC &PhoneNumber()
IMPORT_C TIntRedial()
IMPORT_C const TTimeIntervalSecondsRedialMaximumDuration()
IMPORT_C TBoolSATCall()
IMPORT_C TUint32ServiceId()
IMPORT_C voidSetAllowMatch(TBool)
IMPORT_C voidSetBearerL(const TDesC8 &)
IMPORT_C voidSetCallType(CAiwDialData::TCallType)
IMPORT_C voidSetContactLinkL(const TDesC8 &)
IMPORT_C voidSetEndOtherCalls(TBool)
IMPORT_C voidSetInitiateCall(TBool)
IMPORT_C voidSetNameL(const TDesC &)
IMPORT_C voidSetPhoneNumberL(const TDesC &)
IMPORT_C voidSetRedial(TInt)
IMPORT_C voidSetRedialMaximumDuration(const TTimeIntervalSeconds)
IMPORT_C voidSetSATCall(TBool)
IMPORT_C voidSetServiceId(TUint32)
IMPORT_C voidSetShowNumber(TBool)
IMPORT_C voidSetSubAddressL(const TDesC &)
IMPORT_C voidSetUUIL(const TDesC &)
IMPORT_C voidSetWindowGroup(TInt)
IMPORT_C TBoolShowNumber()
IMPORT_C const TDesC &SubAddress()
IMPORT_C const TDesC &UUI()
IMPORT_C TIntWindowGroup()
Private Member Functions
CAiwInternalDialData()
TInt CalculateDescriptorSize(const TDesC &)
TInt CalculateDescriptorSize(const TDesC8 &)
TInt CalculatePackageSize()
voidCheckDescriptorMaxLengthL(TInt, TInt)
voidConstructL()
voidConstructL(const TDesC8 &)
voidCopyDescriptorToMemberDescriptorL(const TDesC &, HBufC *&)
voidCopyDescriptorToMemberDescriptorL(const TDesC8 &, HBufC8 *&)
HBufC8 *PackLC()
voidReadDescriptorFromStreamL(RDesReadStream &, HBufC *&)
voidReadDescriptorFromStreamL(RDesReadStream &, HBufC8 *&)
voidWriteDescriptorToStreamL(RDesWriteStream &, const TDesC &)
voidWriteDescriptorToStreamL(RDesWriteStream &, const TDesC8 &)
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()
Private Attributes
TBool iAllowMatch
HBufC8 *iBearer
CAiwDialData::TCallType iCallType
HBufC8 *iContactLink
TBool iEndOtherCalls
TBool iInitCall
HBufC *iName
HBufC *iPhoneNumber
TInt iRedial
TTimeIntervalSeconds iRedialMaximumDuration
TBool iSATCall
TUint32 iServiceId
TBool iShowNumber
HBufC *iSubAddress
HBufC *iUUI
TInt iWindowGroup

Constructor & Destructor Documentation

CAiwInternalDialData()

CAiwInternalDialData()[private]

C++ default constructor.

~CAiwInternalDialData()

~CAiwInternalDialData()[virtual]

Destructor.

Member Functions Documentation

AllowMatch()

IMPORT_C TBoolAllowMatch()const

Defines if mathing is allowed.

Since
S60 3.2

Bearer()

IMPORT_C const TDesC8 &Bearer()const

Bearer capability.

Since
S60 3.2

CalculateDescriptorSize(const TDesC &)

TInt CalculateDescriptorSize(const TDesC &aDescriptor)const [private]

Parameters

const TDesC & aDescriptor

CalculateDescriptorSize(const TDesC8 &)

TInt CalculateDescriptorSize(const TDesC8 &aDescriptor)const [private]

Parameters

const TDesC8 & aDescriptor

CalculatePackageSize()

TInt CalculatePackageSize()const [private]

CallType()

IMPORT_C CAiwDialData::TCallTypeCallType()const

Call type.

Since
S60 3.2

CheckDescriptorMaxLengthL(TInt, TInt)

voidCheckDescriptorMaxLengthL(TIntaDescriptorLength,
TIntaMaxAllowedDescriptorLength
)const [private]

Leaves with KErrArgument if aDescriptorLength is greated that aMaxAllowedDescriptorLenght

Parameters

TInt aDescriptorLength
TInt aMaxAllowedDescriptorLength

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aPackage)[private]

By default Symbian 2nd phase constructor is private.

Parameters

const TDesC8 & aPackage

ContactLink()

IMPORT_C const TDesC8 &ContactLink()const

Contact link field.

Since
S60 3.2

CopyDescriptorToMemberDescriptorL(const TDesC &, HBufC *&)

voidCopyDescriptorToMemberDescriptorL(const TDesC &aSource,
HBufC *&aMemberDescriptor
)[private]

Parameters

const TDesC & aSource
HBufC *& aMemberDescriptor

CopyDescriptorToMemberDescriptorL(const TDesC8 &, HBufC8 *&)

voidCopyDescriptorToMemberDescriptorL(const TDesC8 &aSource,
HBufC8 *&aMemberDescriptor
)[private]

Parameters

const TDesC8 & aSource
HBufC8 *& aMemberDescriptor

EndOtherCalls()

IMPORT_C TBoolEndOtherCalls()const

End other calls param.

Since
S60 3.2

FillInParamListL(CAiwGenericParamList &)

IMPORT_C voidFillInParamListL(CAiwGenericParamList &aInParamList)

Composes data set package and inserts data to aInParamList.

Since
S60 3.2

Parameters

CAiwGenericParamList & aInParamListIn parameter used with CAiwService.

InitiateCall()

IMPORT_C TBoolInitiateCall()const

Initiate call.

Since
S60 3.2

Name()

IMPORT_C const TDesC &Name()const

Name.

Since
S60 3.2

NewL()

IMPORT_C CAiwInternalDialData *NewL()[static]

Two-phased constructor for implementation class. Use this method for creating a instance with null items.

Since
S60 3.2

NewL(const TDesC8 &)

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

Two-phased constructor for implementation class. Use this method for creating a instance with null items.

Since
S60 3.2

Parameters

const TDesC8 & aPackagedescriptor parameter.

NewLC()

IMPORT_C CAiwInternalDialData *NewLC()[static]

Two-phased constructor for implementation class. Leaves the pointer to the cleanup stack. Use this method for creating a instance with null items.

Since
S60 3.2

NewLC(const TDesC8 &)

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

Two-phased constructor for implementation class. Leaves the pointer to the cleanup stack. Use this method for creating a instance with null items.

Since
S60 3.2

Parameters

const TDesC8 & aPackagedescriptor parameter.

PackLC()

HBufC8 *PackLC()[private]

PhoneNumber()

IMPORT_C const TDesC &PhoneNumber()const

Phone number.

Since
S60 3.2

ReadDescriptorFromStreamL(RDesReadStream &, HBufC *&)

voidReadDescriptorFromStreamL(RDesReadStream &aStream,
HBufC *&aDescriptor
)[private]

Parameters

RDesReadStream & aStream
HBufC *& aDescriptor

ReadDescriptorFromStreamL(RDesReadStream &, HBufC8 *&)

voidReadDescriptorFromStreamL(RDesReadStream &aStream,
HBufC8 *&aDescriptor
)[private]

Parameters

RDesReadStream & aStream
HBufC8 *& aDescriptor

Redial()

IMPORT_C TIntRedial()const

Redial information.

Since
S60 3.2

RedialMaximumDuration()

IMPORT_C const TTimeIntervalSecondsRedialMaximumDuration()const

Automatic redial maximum duration.

Since
S60 3.2

SATCall()

IMPORT_C TBoolSATCall()const

SAT Call.

Since
S60 3.2

ServiceId()

IMPORT_C TUint32ServiceId()const

Read used Service Id.

SetAllowMatch(TBool)

IMPORT_C voidSetAllowMatch(TBoolaAllowMatch)

Set whether the phone number should be matched against the personal directory.

If ETrue and name is set then number is matched to phonebook but set name is shown in call bubble. If name is not set then no name is shown in call bubble just phone number.

This should be set EFalse only if phone number has not been taken from phonebook.

Since
S60 3.2

Parameters

TBool aAllowMatchWhether to allow matches. Default: ETrue.

SetBearerL(const TDesC8 &)

IMPORT_C voidSetBearerL(const TDesC8 &aBearer)

Set the bearer capability.

Since
S60 3.2

Parameters

const TDesC8 & aBearerThe bearer capabilities as defined in GSM 04.08. KErrArgument if aBearer's length is longer than 14 characters. Default: Empty.

SetCallType(CAiwDialData::TCallType)

IMPORT_C voidSetCallType(CAiwDialData::TCallTypeaCallType)

Sets call type.

Since
S60 3.2

Parameters

CAiwDialData::TCallType aCallTypedefines the call type. Default: EAIWVoice.

SetContactLinkL(const TDesC8 &)

IMPORT_C voidSetContactLinkL(const TDesC8 &aContactLink)

Set contact link. If phone number and contact link are both defined call will be made to contact link.

Since
S60 3.2

Parameters

const TDesC8 & aContactLinkContact link information. Default: Empty.

SetEndOtherCalls(TBool)

IMPORT_C voidSetEndOtherCalls(TBoolaEndOtherCalls)

Set parameter for end other calls. If this is set to ETrue, other calls will be terminated before dial.

Since
S60 3.2

Parameters

TBool aEndOtherCalls

SetInitiateCall(TBool)

IMPORT_C voidSetInitiateCall(TBoolaInitCall)

Sets initiate call.

Since
S60 3.2

Parameters

TBool aInitCallETrue if call is created by using long press of send key otherwise EFalse. Default: EFalse.

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Sets the name of the person who is to be called. If client sets name then set name is shown not contact card defined name. Set name is shown also in log event.

Since
S60 3.2

Parameters

const TDesC & aNameThe name of the person being called. KErrArgument if aName length is over KMaximumNameLength. Default: Empty.

SetPhoneNumberL(const TDesC &)

IMPORT_C voidSetPhoneNumberL(const TDesC &aPhoneNumber)

Sets the phone number. If phone number and contact link are both defined call will be made to contact link.

Since
S60 3.2

Parameters

const TDesC & aPhoneNumberPhone number, which maximum length is KMaximumPhoneNumberLength. Default: empty. KErrArgument if aPhoneNumber length is over KMaximumPhoneNumberLength.

SetRedial(TInt)

IMPORT_C voidSetRedial(TIntaRedial)

Change the redial mode. For used parameters see redial related constants above.

Since
S60 3.2

Parameters

TInt aRedialthe new redial status. Default: KAIWRedialDefault.

SetRedialMaximumDuration(const TTimeIntervalSeconds)

IMPORT_C voidSetRedialMaximumDuration(const TTimeIntervalSecondsaMaximumRedialDuration)

Set redial max duration time.

Since
S60 3.2

Parameters

const TTimeIntervalSeconds aMaximumRedialDuration

SetSATCall(TBool)

IMPORT_C voidSetSATCall(TBoolaSATCall)

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
S60 3.2

Parameters

TBool aSATCallETrue if SAT originated the call, EFalse otherwise. Default: EFalse.

SetServiceId(TUint32)

IMPORT_C voidSetServiceId(TUint32aServiceId)

Set id of used call service.

Parameters

TUint32 aServiceIdThe value of Service Id. Default: Null.

SetShowNumber(TBool)

IMPORT_C voidSetShowNumber(TBoolaShowNumber)

Set the number visibility in the phone app. If this is set to EFalse, then number is not shown at all in callbubble If number has defined contact card contact name is shown in call bubble.

Since
S60 3.2

Parameters

TBool aShowNumberWhether or not to show the number. Default: ETrue.

SetSubAddressL(const TDesC &)

IMPORT_C voidSetSubAddressL(const TDesC &aSubAddress)

Set the calling party subaddress. Defined in ITU-T I.330 and 3GPP TS 11.14.

Since
S60 3.2

Parameters

const TDesC & aSubAddressThe calling party subaddress. KErrArgument if aSubAddress length is longer than 50 characters. Default: Empty.

SetUUIL(const TDesC &)

IMPORT_C voidSetUUIL(const TDesC &aUUI)

Sets the user to user information. If this is set then the UUI data is sent to the recipient via UUS mechanism at call setup phase.

Note that UUI is not sent if telephony local variation KTelephonyLVFlagUUS is not set.

Since
S60 v3.2

Parameters

const TDesC & aUUIUser to user information. Maxmimum length of UUI is defined by constant KAiwUUILength. Leaves with KErrArgument if given data is longer than KAiwUUILength.

SetWindowGroup(TInt)

IMPORT_C voidSetWindowGroup(TIntaWindowGroup)

Sets the window group identifier. When call is ended, set window group is actived.

Since
S60 3.2

Parameters

TInt aWindowGroupWindow group id. Default: KAiwGoToIdle.

ShowNumber()

IMPORT_C TBoolShowNumber()const

Show Number.

Since
S60 3.2

SubAddress()

IMPORT_C const TDesC &SubAddress()const

Sub address.

Since
S60 3.2

UUI()

IMPORT_C const TDesC &UUI()const

User to user information.

Since
S60 v3.2

WindowGroup()

IMPORT_C TIntWindowGroup()const

Window group id.

Since
S60 3.2

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC &)

voidWriteDescriptorToStreamL(RDesWriteStream &aStream,
const TDesC &aDescriptor
)[private]

Parameters

RDesWriteStream & aStream
const TDesC & aDescriptor

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC8 &)

voidWriteDescriptorToStreamL(RDesWriteStream &aStream,
const TDesC8 &aDescriptor
)[private]

Parameters

RDesWriteStream & aStream
const TDesC8 & aDescriptor

Member Data Documentation

TBool iAllowMatch

TBool iAllowMatch[private]

HBufC8 * iBearer

HBufC8 *iBearer[private]

CAiwDialData::TCallType iCallType

CAiwDialData::TCallType iCallType[private]

HBufC8 * iContactLink

HBufC8 *iContactLink[private]

TBool iEndOtherCalls

TBool iEndOtherCalls[private]

TBool iInitCall

TBool iInitCall[private]

HBufC * iName

HBufC *iName[private]

HBufC * iPhoneNumber

HBufC *iPhoneNumber[private]

TInt iRedial

TInt iRedial[private]

TTimeIntervalSeconds iRedialMaximumDuration

TTimeIntervalSeconds iRedialMaximumDuration[private]

TBool iSATCall

TBool iSATCall[private]

TUint32 iServiceId

TUint32 iServiceId[private]

TBool iShowNumber

TBool iShowNumber[private]

HBufC * iSubAddress

HBufC *iSubAddress[private]

HBufC * iUUI

HBufC *iUUI[private]

TInt iWindowGroup

TInt iWindowGroup[private]