Namespaces
Variants
Actions

Extended AIW Criteria API

Jump to: navigation, search
Article Metadata

Code Example
Source file: Media:AiwTest.zip

Article
Created: ltomuta (16 Jun 2007)
Last edited: hamishwillee (30 May 2013)
Note.png
Note: :This API is not part of the public SDK. It can be found in the SDK API Plug-in.

Contents

Purpose

Extended AIW criteria API defines types used in AIW contact selction,AIW contact assign services,AIW call creation,POC UI. It also provide service commands for CDMA specific AMS provider.

Use cases

One use case is to use dial data types to create a VoIP, Voice or Video call.

Example code

Library:

LIBRARY servicehandler.lib

Header:

#include <aiwdialdatatypes.h>

Source:

 //Create AIW param package
TAiwDialDataV1 data;
TAiwDialDataV1Pckg dataPckg( data );
data.SetTelephoneNumber(telNumber);
// Calltype can be - Voice,VoIP and Video
TAiwCallType callType(EAiwVoice);
data.SetCallType( callType );
TAiwNameBuffer name(_L("Callee"));
data.SetName(name);
data.SetWindowGroup( CCoeEnv::Static()->RootWin().Identifier() );
data.SetShowNumber(ETrue);
data.SetRemoveInvalidChars(EFalse);
 
TPtrC8 ptr;
ptr.Set( dataPckg );
TAiwVariant variant( ptr );
TAiwGenericParam param( EGenericParamCallDialDataV1, variant );
CAiwGenericParamList& paramList = serviceHandler->InParamListL();
paramList.AppendL( param );
//Make Call
serviceHandler->ExecuteServiceCmdL( KAiwCmdCall, paramList,
serviceHandler->OutParamListL() );

Example project

File:AiwTest.zip

Known issues

Archived:Dialing a voice call using AIW fails in Nokia N95 8GB (Known Issue)
 
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved