×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:AIW Dial Data Consumer Symbian API

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
extkbeditor1 (Talk | contribs)
m
Line 3: Line 3:
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
{{KBCS}}
 
{{KBCS}}
{|style="background:#eceff2" width="660px" border="1" cellpadding="5" cellspacing="0"
+
{{CodeSnippet
|-
+
|id=CS001026
|'''ID''' ||CS001026
+
|platform=S60 3rd Edition, FP2
|'''Creation date''' ||June 13, 2008
+
|devices=
|-
+
|category=Symbian C++
|'''Platform''' ||S60 3rd Edition, FP2
+
|subcategory=Telephony
|'''Tested on devices''' ||  
+
|creationdate=June 13, 2008
|-
+
|keywords=AIW Dial Data Consumer API
|'''Category''' ||Symbian C++
+
}}
|'''Subcategory''' ||Telephony
+
|-
+
|}
+
 
+
 
+
{|style="background:#eceff2" width="660px" border="1" cellpadding="5" cellspacing="0"
+
|-
+
|'''Keywords (APIs, classes, methods, functions):''' AIW Dial Data Consumer API
+
|}
+
  
  

Revision as of 22:41, 13 October 2008

Template:KBCS

Article Metadata
Compatibility
Platform(s): S60 3rd Edition, FP2
S60 3rd Edition FP2
Article
Keywords: AIW Dial Data Consumer API
Created: (13 Jun 2008)
Last edited: extkbeditor1 (13 Oct 2008)


Template:NoteS

This API is not part of the public SDK. It can be found in the SDK API Plug-in.

Template:NoteE


The AIW Dial Data Consumer API (class CAiwDialData) is introduced in the S60 3rd Edition, Feature Pack 2 SDK API Plug-in Pack. The API can be used instead of TAiwDialDataV1, TAiwDialDataV1Pckg, TAiwVariant, TAiwGenericParam.

Using CAiwDialData simplifies parameter passing when the AIW framework is used for call dialing.

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.

×