CAiwDialData Class Reference

class CAiwDialData : public CBase

Creating call using CAiwDialData API.

        - Client must be Service Handler client. For more information see
     service handler desing document.

   - Client creates intance of CAiwDialData:

   CAiwDialData* dialData = CAiwDialData::NewLC();

   - Define call parameters(phone number is compulsory parameter ):
   
   dialData->SetCallType( CAiwDialData::EAIWVoice );
   _LIT(phoneNumber, "050123456");
   dialData->SetPhoneNumberL( phoneNumber );
   dialData->SetWindowGroup( AIWDialData::KAiwGoToIdle );
   
   - Client creates reference to CAiwGenericParamList and fills paramlist:

   CAiwGenericParamList& paramList = iServiceHandler->InParamListL();
   dialData->FillInParamListL( paramList );

  - Now client can give execute command to service handler.

  iServiceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList,
                                 iServiceHandler->OutParamListL(),
                                 0, NULL );
       

Dial data for SDK applications.

aiwdialdata.lib
Since
S60 3.2

Inherits from

Constructor & Destructor Documentation

CAiwDialData()

CAiwDialData ( ) [private]

C++ default constructor.

~CAiwDialData()

~CAiwDialData ( ) [virtual]

Destructor.

Member Functions Documentation

CallType()

IMPORT_C TCallType CallType ( ) const

Call type.

Since
S60 3.2

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

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.

NewL()

IMPORT_C CAiwDialData * NewL ( ) [static]

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

Since
S60 3.2

NewLC()

IMPORT_C CAiwDialData * 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

PhoneNumber()

IMPORT_C const TDesC & PhoneNumber ( ) const

Phone number.

Since
S60 3.2

SetCallType(TCallType)

IMPORT_C void SetCallType ( TCallType aCallType )

Sets call type.

Since
S60 3.2

Parameters

TCallType aCallType defines the call type. Default: EAIWVoice.

SetPhoneNumberL(const TDesC &)

IMPORT_C void SetPhoneNumberL ( const TDesC & aPhoneNumber )

Sets the phone number.

Since
S60 3.2

Parameters

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

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.

WindowGroup()

IMPORT_C TInt WindowGroup ( ) const

Window group id.

Since
S60 3.2

Member Enumerations Documentation

Enum TCallType

Different type of calls.

Enumerators

EAIWVoice = 0
EAIWVideo = 1

Video call.

EAIWForcedVideo = 2

Forced video call, creates video call directly without queries.

EAIWVoiP = 3

Voip call.

EAIWForcedCS = 4

Member Data Documentation

CAiwInternalDialData * iInternalDialData

CAiwInternalDialData * iInternalDialData [private]