This section describes how to retrieve the phone modes supported by multimode phone sub-session. The modes are the different air-interfaces in the mobile networks.
The function should return the modes supported by the device.
The following code checks if the phone supports both GSM and CDMA (IS-95).The code assumes iMobilePhone is an RMobilePhone object.
TUint32 modes; User::LeaveIfError(iMobilePhone.GetMultimodeCaps(modes)); if ( (modes & RMobilePhone::KCapsGsmSupported) && (modes & RMobilePhone::KCapsCdma95Supported) ) { ... }
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.