×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:AIW Dial Data Consumer Symbian API

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Automated change of text from {{NoteS}} to {{Note|. (using newer note template))
hamishwillee (Talk | contribs)
m (Hamishwillee - Tidy abstract)
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Symbian C++]][[Category:S60 3rd Edition, Feature Pack 2 ]][[Category:Telephony]][[Category:Code Examples]][[Category:Code Snippet]]
+
[[Category:Symbian C++]][[Category:Telephony]][[Category:Code Examples]][[Category:S60 3rd Edition FP2]]
__NOTOC__
+
{{Archived|timestamp=20120313123724|user=roy.debjit| }}
__NOEDITSECTION__
+
{{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.
{{KBCS}}
+
{{ArticleMetaData <!-- v1.2 -->
{{CodeSnippet
+
|sourcecode= [[Media:AiwConsumerFP2Ex.zip]]
|id=CS001026
+
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
|platform=S60 3rd Edition, FP2
+
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
|devices=
+
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Nokia Qt SDK 1.1]) -->
|category=Symbian C++
+
|platform= S60 3rd Edition, FP2
|subcategory=Telephony
+
|devicecompatability= <!-- Compatible devices (e.g.: All* (must have GPS) ) -->
|creationdate=June 13, 2008
+
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
|keywords=AIW Dial Data Consumer API
+
|signing= <!-- Empty or one of Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= AIW Dial Data Consumer API
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20080613
 +
|author= [[User:Technical writer 1]]
 +
<!-- The following are not in current metadata -->
 +
|id= CS001026
 
}}
 
}}
  
 
+
{{Note|This API is not part of the public SDK. It can be found in the [[SDK API Plug-in]]. }}
{{Note|
+
:This API is not part of the public SDK. It can be found in the [[SDK API Plug-in]].  
+
}}
+
 
+
 
+
The AIW Dial Data Consumer API (class <tt>CAiwDialData</tt>) is introduced in the S60 3rd Edition, Feature Pack 2 SDK API Plug-in Pack.
+
The API can be used instead of <tt>TAiwDialDataV1</tt>, <tt>TAiwDialDataV1Pckg</tt>, <tt>TAiwVariant</tt>, <tt>TAiwGenericParam</tt>.
+
 
+
Using <tt>CAiwDialData</tt> simplifies parameter passing when the AIW framework is used for call dialing.
+
  
 
==Header file==
 
==Header file==
Line 32: Line 37:
 
  aiwdialdata.lib
 
  aiwdialdata.lib
  
==Dialing a voice call with <tt>CAiwDialData</tt>==
+
==Dialing a voice call with {{Icode|CAiwDialData}}==
  
 
<code cpp>
 
<code cpp>
Line 68: Line 73:
  
 
==Example project==
 
==Example project==
[[Image:AiwConsumerFP2Ex.zip]]
+
[[File:AiwConsumerFP2Ex.zip]]

Revision as of 06:10, 8 October 2012

Archived.pngArchived: 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 ExampleCompatibility
Platform(s): S60 3rd Edition, FP2
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.pngNote: 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


Example project

File:AiwConsumerFP2Ex.zip

122 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×