S60 3rd Edition API Reference: CApNetworks Class Reference
CApNetworks Class Reference API published in: S60 1st Ed
Link against: apengine.lib
Capability Information Required Capabilities ReadDeviceData ReadUserData WriteDeviceData WriteUserData
Exceptions none
#include <apnetworks.h >
Detailed Description
This class is used to help client's network selection.
Public Member Functions virtual IMPORT_C ~CApNetworks () Destructor. IMPORT_C TUint32 Count () const Counts the items in the list. IMPORT_C const TDesC & NameL (TUint32 aUid) const Gets the name of the network group with the given UID Ownership of the returned text is not passed. IMPORT_C TInt AllListItemDataL (CApNetworkItemList &aList) Provides all data in a CApNetworkItemList array. Static Public Member Functions static IMPORT_C CApNetworks * NewLC (CCommsDatabase &aDb) Two-phased constructor.
Constructor & Destructor Documentation
virtual IMPORT_C CApNetworks::~CApNetworks ( ) [virtual]
Member Function Documentation
Provides all data in a CApNetworkItemList array.
Parameters:
Returns: The number of items in the list. All elements in the aList array and their memory will be freed inside the routine. The routine expands or shrinks the array as necessary to minimize memory consumption.
IMPORT_C TUint32 CApNetworks::Count ( ) const
Counts the items in the list.
Returns: The number of items in the list.
IMPORT_C const TDesC& CApNetworks::NameL ( TUint32 aUid ) const
Gets the name of the network group with the given UID Ownership of the returned text is not passed.
Parameters:
aUid The uid of the network item
Returns: The name of the network group
static IMPORT_C CApNetworks * CApNetworks::NewLC ( CCommsDatabase & aDb ) [static]
Two-phased constructor.
Leaves on failure, places instance on cleanup stack.
Parameters:
aDb a reference to a CCommsDataBase.
Returns: The constructed CApNetworks.
The documentation for this class was generated from the following file: