![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
CBase |
Abstract: CBase behaviour |
etelbgsm.h
gsmbas.lib
This class is used to store the results of searches for detected networks see MBasicGsmPhoneNetwork::RetrieveDetectedNetworksLC() and CBasicGsmRetrieveDetectedNetworks::RetrieveResults().
In both cases, instances of this class are created by the respective function. In the asynchronous variant the results are owned by the CBasicGsmRetrieveDetectedNetworks class. In the synchronous variant the results are placed on the clean-up stack, and are owned by the client.
This class is not intended for user derivation
Clients should not call a constructor to create this object. Instances of this class are created by the functions used to initiate the search.
~CGsmDetectedNetworkResults();
The destructor frees all resources owned by the object, prior to its destruction.
TInt EnumerateEntries(TInt& aCount);
This function retrieves the number of entries in the results list i.e. the number of detected networks.
TInt& aCount |
On return, contains the number of detected networks. |
TInt |
An error code: see System error codes. |
TInt GetEntry(const TInt aIndex, RBasicGsmPhone::TNetworkInfo& aEntry);
This function retrieves a specific detected network entry from the search results.
const TInt aIndex |
The index of the detected network entry to be returned. |
RBasicGsmPhone::TNetworkInfo& aEntry |
On return, contains the specified detected network information. |
TInt |
An error code: see System error codes. |
TInt GetNextEntry(RBasicGsmPhone::TNetworkInfo& aEntry);
This function returns the next detected network entry, with respect to the results cursor, in a search result list.
RBasicGsmPhone::TNetworkInfo& aEntry |
On return, contains the next entry. |
TInt |
An error code: see System error codes. |
TInt GetPreviousEntry(RBasicGsmPhone::TNetworkInfo& aEntry);
This function returns the previous detected network entry, with respect to the results cursor, in a search result list.
RBasicGsmPhone::TNetworkInfo& aEntry |
On return, contains the previous entry. |
TInt |
An error code: see System error codes. |
void Reset();
This function resets all entries in the search results list to zero.
Panic constant for browsing list |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |