CAiwInternalDialData Class Reference

class CAiwInternalDialData : public CBase

Dial data for SAT application.

aiwdialdata.lib
Since
S60 3.2

Inherits from

Public Member Functions
~CAiwInternalDialData ()
IMPORT_C TBool AllowMatch ()
IMPORT_C const TDesC8 & Bearer ()
IMPORT_C CAiwDialData::TCallType CallType ()
IMPORT_C const TDesC8 & ContactLink ()
IMPORT_C TBool EndOtherCalls ()
IMPORT_C void FillInParamListL ( CAiwGenericParamList &)
IMPORT_C TBool InitiateCall ()
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 TInt Redial ()
IMPORT_C const TTimeIntervalSeconds RedialMaximumDuration ()
IMPORT_C TBool SATCall ()
IMPORT_C TUint32 ServiceId ()
IMPORT_C void SetAllowMatch ( TBool )
IMPORT_C void SetBearerL (const TDesC8 &)
IMPORT_C void SetCallType ( CAiwDialData::TCallType )
IMPORT_C void SetContactLinkL (const TDesC8 &)
IMPORT_C void SetEndOtherCalls ( TBool )
IMPORT_C void SetInitiateCall ( TBool )
IMPORT_C void SetNameL (const TDesC &)
IMPORT_C void SetPhoneNumberL (const TDesC &)
IMPORT_C void SetRedial ( TInt )
IMPORT_C void SetRedialMaximumDuration (const TTimeIntervalSeconds )
IMPORT_C void SetSATCall ( TBool )
IMPORT_C void SetServiceId ( TUint32 )
IMPORT_C void SetShowNumber ( TBool )
IMPORT_C void SetSubAddressL (const TDesC &)
IMPORT_C void SetUUIL (const TDesC &)
IMPORT_C void SetWindowGroup ( TInt )
IMPORT_C TBool ShowNumber ()
IMPORT_C const TDesC & SubAddress ()
IMPORT_C const TDesC & UUI ()
IMPORT_C TInt WindowGroup ()
Private Member Functions
CAiwInternalDialData ()
TInt CalculateDescriptorSize (const TDesC &)
TInt CalculateDescriptorSize (const TDesC8 &)
TInt CalculatePackageSize ()
void CheckDescriptorMaxLengthL ( TInt , TInt )
void ConstructL ()
void ConstructL (const TDesC8 &)
void CopyDescriptorToMemberDescriptorL (const TDesC &, HBufC *&)
void CopyDescriptorToMemberDescriptorL (const TDesC8 &, HBufC8 *&)
HBufC8 * PackLC ()
void ReadDescriptorFromStreamL ( RDesReadStream &, HBufC *&)
void ReadDescriptorFromStreamL ( RDesReadStream &, HBufC8 *&)
void WriteDescriptorToStreamL ( RDesWriteStream &, const TDesC &)
void WriteDescriptorToStreamL ( 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 TBool AllowMatch ( ) 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::TCallType CallType ( ) const

Call type.

Since
S60 3.2

CheckDescriptorMaxLengthL(TInt, TInt)

void CheckDescriptorMaxLengthL ( TInt aDescriptorLength,
TInt aMaxAllowedDescriptorLength
) const [private]

Leaves with KErrArgument if aDescriptorLength is greated that aMaxAllowedDescriptorLenght

Parameters

TInt aDescriptorLength
TInt aMaxAllowedDescriptorLength

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

ConstructL(const TDesC8 &)

void ConstructL ( 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 *&)

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

Parameters

const TDesC & aSource
HBufC *& aMemberDescriptor

CopyDescriptorToMemberDescriptorL(const TDesC8 &, HBufC8 *&)

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

Parameters

const TDesC8 & aSource
HBufC8 *& aMemberDescriptor

EndOtherCalls()

IMPORT_C TBool EndOtherCalls ( ) const

End other calls param.

Since
S60 3.2

FillInParamListL(CAiwGenericParamList &)

IMPORT_C void FillInParamListL ( CAiwGenericParamList & aInParamList )

Composes data set package and inserts data to aInParamList.

Since
S60 3.2

Parameters

CAiwGenericParamList & aInParamList In parameter used with CAiwService.

InitiateCall()

IMPORT_C TBool InitiateCall ( ) 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 & aPackage descriptor 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 & aPackage descriptor parameter.

PackLC()

HBufC8 * PackLC ( ) [private]

PhoneNumber()

IMPORT_C const TDesC & PhoneNumber ( ) const

Phone number.

Since
S60 3.2

ReadDescriptorFromStreamL(RDesReadStream &, HBufC *&)

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

Parameters

RDesReadStream & aStream
HBufC *& aDescriptor

ReadDescriptorFromStreamL(RDesReadStream &, HBufC8 *&)

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

Parameters

RDesReadStream & aStream
HBufC8 *& aDescriptor

Redial()

IMPORT_C TInt Redial ( ) const

Redial information.

Since
S60 3.2

RedialMaximumDuration()

IMPORT_C const TTimeIntervalSeconds RedialMaximumDuration ( ) const

Automatic redial maximum duration.

Since
S60 3.2

SATCall()

IMPORT_C TBool SATCall ( ) const

SAT Call.

Since
S60 3.2

ServiceId()

IMPORT_C TUint32 ServiceId ( ) const

Read used Service Id.

SetAllowMatch(TBool)

IMPORT_C void SetAllowMatch ( TBool aAllowMatch )

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 aAllowMatch Whether to allow matches. Default: ETrue.

SetBearerL(const TDesC8 &)

IMPORT_C void SetBearerL ( const TDesC8 & aBearer )

Set the bearer capability.

Since
S60 3.2

Parameters

const TDesC8 & aBearer The 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 void SetCallType ( CAiwDialData::TCallType aCallType )

Sets call type.

Since
S60 3.2

Parameters

CAiwDialData::TCallType aCallType defines the call type. Default: EAIWVoice.

SetContactLinkL(const TDesC8 &)

IMPORT_C void SetContactLinkL ( 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 & aContactLink Contact link information. Default: Empty.

SetEndOtherCalls(TBool)

IMPORT_C void SetEndOtherCalls ( TBool aEndOtherCalls )

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 void SetInitiateCall ( TBool aInitCall )

Sets initiate call.

Since
S60 3.2

Parameters

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

SetNameL(const TDesC &)

IMPORT_C void SetNameL ( 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 & aName The name of the person being called. KErrArgument if aName length is over KMaximumNameLength. Default: Empty.

SetPhoneNumberL(const TDesC &)

IMPORT_C void SetPhoneNumberL ( 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 & aPhoneNumber Phone number, which maximum length is KMaximumPhoneNumberLength. Default: empty. KErrArgument if aPhoneNumber length is over KMaximumPhoneNumberLength.

SetRedial(TInt)

IMPORT_C void SetRedial ( TInt aRedial )

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

Since
S60 3.2

Parameters

TInt aRedial the new redial status. Default: KAIWRedialDefault.

SetRedialMaximumDuration(const TTimeIntervalSeconds)

IMPORT_C void SetRedialMaximumDuration ( const TTimeIntervalSeconds aMaximumRedialDuration )

Set redial max duration time.

Since
S60 3.2

Parameters

const TTimeIntervalSeconds aMaximumRedialDuration

SetSATCall(TBool)

IMPORT_C void SetSATCall ( TBool aSATCall )

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 aSATCall ETrue if SAT originated the call, EFalse otherwise. Default: EFalse.

SetServiceId(TUint32)

IMPORT_C void SetServiceId ( TUint32 aServiceId )

Set id of used call service.

Parameters

TUint32 aServiceId The value of Service Id. Default: Null.

SetShowNumber(TBool)

IMPORT_C void SetShowNumber ( TBool aShowNumber )

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 aShowNumber Whether or not to show the number. Default: ETrue.

SetSubAddressL(const TDesC &)

IMPORT_C void SetSubAddressL ( 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 & aSubAddress The calling party subaddress. KErrArgument if aSubAddress length is longer than 50 characters. Default: Empty.

SetUUIL(const TDesC &)

IMPORT_C void SetUUIL ( 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 & aUUI User 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 void SetWindowGroup ( TInt aWindowGroup )

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

Since
S60 3.2

Parameters

TInt aWindowGroup Window group id. Default: KAiwGoToIdle.

ShowNumber()

IMPORT_C TBool ShowNumber ( ) 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 TInt WindowGroup ( ) const

Window group id.

Since
S60 3.2

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC &)

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

Parameters

RDesWriteStream & aStream
const TDesC & aDescriptor

WriteDescriptorToStreamL(RDesWriteStream &, const TDesC8 &)

void WriteDescriptorToStreamL ( 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]