S60 3 2 Connection Settings API Specification C: API description

Connection Method Manager API provides:

CM Manager runs in the process of the client application. All the methods in the API are synchronous. Some UI related methods such as queering a bearer icon (ECmBearerIcon) requires UI context from the client application.

As CM Manager runs in the process of the client application it has the same capabilities as the client application so the client application needs the ReadDeviceData capability to access 'private' user data such as user names or passwords through the API.

Use cases

The main use cases of the Connection Settings API are:

  1. Read the list of existing Destinations.
  2. Read the existing Connection Methods in a Destination.
  3. Read the attributes of a Connection Method.
  4. Read the attributes of a bearer type.

API class structure

Figure 1: Connection Method Manager API realization

The diagram below contains only the relevant details of the types of Connection Settings API. Full reference can be found in the header files.

Figure 2: Class structure of the Connection Settings API

Connection Settings API also contains the following def header files which contain constants and enumerations inside the CMManager namespace, e.g. cmpluginhscsddef.h for HSCSD bearer type contains the TConnectionMethodHscsdSpecificAttributes enumeration type.

Some of these file names refer to plug-ins such as cmpluginhscsddef.h

Although some of these file names refer to plug-ins such as cmpluginhscsddef.h the plug-in architecture (different bearer types are realized as plug-ins in the CM Manager) is hidden for the user of the API. Usage of the API does not require any knowledge about the plug-in architecture of CM Manager.

The rest of the headers contains the type definitions of the RCmManager, RCmDestination and the RCmConnectionMethod classes.


Copyright © Nokia Corporation 2001-2008
Back to top