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
Constructor & Destructor Documentation
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
FillInParamListL(CAiwGenericParamList &)
Composes data set package and inserts data to aInParamList.
NewL()
Two-phased constructor for implementation class. Use this method for creating a instance with null items.
NewLC()
Two-phased constructor for implementation class. Leaves the pointer to the cleanup stack. Use this method for creating a instance with null items.
PhoneNumber()
IMPORT_C const TDesC & | PhoneNumber | ( | ) | const |
SetCallType(TCallType)
Parameters
TCallType aCallType | defines the call type. Default: EAIWVoice. |
SetPhoneNumberL(const TDesC &)
IMPORT_C void | SetPhoneNumberL | ( | const TDesC & | aPhoneNumber | ) | |
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.
Parameters
TInt aWindowGroup | Window group id. Default: KAiwGoToIdle. |
WindowGroup()
IMPORT_C TInt | WindowGroup | ( | ) | const |
Member Enumerations Documentation
Enum TCallType
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
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.