This tutorial describes how to get the call information.
The RMobileCall::GetMobileCallInfo() must be used to retrieve the call information. The retrieved information contains :
The following code gets the identity of a remote party, if it is available:
void CClientApp::RemoteInfoL(const RMobileCall& aCall, TBuf<RMobileCall::KCallingNameSize>& aName) { RMobileCall::TMobileCallRemotePartyInfoV1 remoteInfo; RMobileCall::TMobileCallInfoV1 callInfo; RMobileCall::TMobileCallInfoV1Pckg callInfoPckg(callInfo); User::LeaveIfError(aCall.GetMobileCallInfo(callInfoPckg)); if (callInfo.iRemoteParty.iRemoteIdStatus == RMobileCall::ERemoteIdentityAvailable) { aName = callInfo.iRemoteParty.iCallingName; } }
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.