This tutorial describes how to implement the caller identity services in a Symbian platform device.
GSM defines the following supplementary services that display the identity of the calling or the connected party:
The following code checks if the CNAP service is active that is if the name of the caller is shown.
The code assumes iMobilePhone is an RMobilePhone object.
TRequestStatus status; RMobilePhone::TMobilePhoneIdServiceStatus serviceStatus; iMobilePhone.GetIdentityServiceStatus(status,RMobilePhone::EIdServiceCallerName, serviceStatus); User::WaitForRequest(status); User::LeaveIfError(status.Int()); if (serviceStatus == RMobilePhone::EIdServiceActivePermanent) { //do something }
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.