diff -r 48780e181b38 -r 578be2adaf3e Symbian3/PDK/Source/GUID-771CC444-12CA-5DDE-B93B-EA419971C676.dita --- a/Symbian3/PDK/Source/GUID-771CC444-12CA-5DDE-B93B-EA419971C676.dita Tue Jul 20 12:00:49 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-771CC444-12CA-5DDE-B93B-EA419971C676.dita Fri Aug 13 16:47:46 2010 +0100 @@ -1,22 +1,22 @@ - - - - - -Call Information TutorialThis tutorial describes how to get the call information.

The RMobileCall::GetMobileCallInfo() must be used to retrieve the call information. The retrieved information contains :

  • a bitmask that specifies which of the optional fields are set in the retrieved information

  • call origination information, such as call name, ID, start time, service

  • remote party information

  • call status information and flags

Use RMobileCall::GetMobileCallInfo() to retrieve the call inormation. The above function should return a RMobileCall::TMobileCallInfoV1. The bit mask of the optional field is returned in RMobileCall::TMobileCallInfoFlags. The remote party information is returned in RMobileCall::TMobileCallRemotePartyInfoV1. Notify the client applications using RMobileCall::NotifyRemotePartyInfoChange(). Call information example

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; - } + + + + + +Call Information TutorialThis tutorial describes how to get the call information.

The RMobileCall::GetMobileCallInfo() must be used to retrieve the call information. The retrieved information contains :

  • a bitmask that specifies which of the optional fields are set in the retrieved information

  • call origination information, such as call name, ID, start time, service

  • remote party information

  • call status information and flags

Use RMobileCall::GetMobileCallInfo() to retrieve the call inormation. The above function should return a RMobileCall::TMobileCallInfoV1. The bit mask of the optional field is returned in RMobileCall::TMobileCallInfoFlags. The remote party information is returned in RMobileCall::TMobileCallRemotePartyInfoV1. Notify the client applications using RMobileCall::NotifyRemotePartyInfoChange(). Call information example

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; + } }
\ No newline at end of file