Archived:AIW Dial Data Consumer Symbian API
hamishwillee
(Talk | contribs) |
hamishwillee
(Talk | contribs) m (Hamishwillee - Tidy abstract) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| + | [[Category:Symbian C++]][[Category:Telephony]][[Category:Code Examples]][[Category:S60 3rd Edition FP2]] | ||
{{Archived|timestamp=20120313123724|user=roy.debjit| }} | {{Archived|timestamp=20120313123724|user=roy.debjit| }} | ||
| − | + | {{Abstract| The AIW Dial Data Consumer API (class {{Icode|CAiwDialData}}) can be used instead of {{Icode|TAiwDialDataV1}}, {{Icode|TAiwDialDataV1Pckg}}, {{Icode|TAiwVariant}}, {{Icode|TAiwGenericParam}}. It simplifies parameter passing when the AIW framework is used for call dialing. }} The API was introduced in the S60 3rd Edition FP2 SDK API Plug-in Pack. | |
{{ArticleMetaData <!-- v1.2 --> | {{ArticleMetaData <!-- v1.2 --> | ||
| − | |sourcecode= [[Media:AiwConsumerFP2Ex.zip]] | + | |sourcecode= [[Media:AiwConsumerFP2Ex.zip]] |
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | |installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) --> | ||
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> | |devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') --> | ||
| Line 23: | Line 24: | ||
|author= [[User:Technical writer 1]] | |author= [[User:Technical writer 1]] | ||
<!-- The following are not in current metadata --> | <!-- The following are not in current metadata --> | ||
| − | |||
|id= CS001026 | |id= CS001026 | ||
}} | }} | ||
| − | + | {{Note|This API is not part of the public SDK. It can be found in the [[SDK API Plug-in]]. }} | |
| − | {{Note| | + | |
| − | + | ||
| − | }} | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
| − | + | ||
==Header file== | ==Header file== | ||
Revision as of 06:10, 8 October 2012
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
The AIW Dial Data Consumer API (class CAiwDialData) can be used instead of TAiwDialDataV1, TAiwDialDataV1Pckg, TAiwVariant, TAiwGenericParam. It simplifies parameter passing when the AIW framework is used for call dialing. The API was introduced in the S60 3rd Edition FP2 SDK API Plug-in Pack.
Article Metadata
Code Example
Source file: Media:AiwConsumerFP2Ex.zip
Compatibility
Platform(s): S60 3rd Edition, FP2
Article
Keywords: AIW Dial Data Consumer API
Created: User:Technical writer 1
(13 Jun 2008)
Last edited: hamishwillee
(08 Oct 2012)
Note: This API is not part of the public SDK. It can be found in the SDK API Plug-in.
Contents |
Header file
aiwdialdata.h
Library
aiwdialdata.lib
Dialing a voice call with CAiwDialData
CAiwServiceHandler* serviceHandler = CAiwServiceHandler::NewLC();
RCriteriaArray interest;
CleanupClosePushL( interest );
CAiwCriteriaItem* criteria =
CAiwCriteriaItem::NewLC(KAiwCmdCall, KAiwCmdCall,_L8("*"));
TUid base;
base.iUid = KAiwClassBase;
criteria->SetServiceClass( base );
User::LeaveIfError( interest.Append( criteria ) );
// Attach to AIW interest
serviceHandler->AttachL( interest );
//Create CAiwDialData instance
CAiwDialData* dialData = CAiwDialData::NewLC();
dialData->SetCallType( CAiwDialData::EAIWVoice );
//Define call parameters
_LIT(phoneNumber, "+35840123456");
dialData->SetPhoneNumberL(phoneNumber);
dialData->SetWindowGroup( AIWDialData::KAiwGoToIdle );
CAiwGenericParamList& paramList = serviceHandler->InParamListL();
// Fill in the parameter list
dialData->FillInParamListL( paramList );
// Execute call command
serviceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList,
serviceHandler->OutParamListL() );
CleanupStack::PopAndDestroy( 3 ); // dialData, criteria, interest

