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.
The main use cases of the Connection Settings API are:
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
RCmManager
is a general interface to Connection Method
Manager. It can be used to get:
ECmBearerHasUi
to query
if a bearer type has a UI dialog for the settings or not.
ECmBearer
type
to query the bearer type of the Connection Method.
ConnectionMethodL
.
AllDestinationsL
.
RCmDestination
is a representation of a Destination.
It can be used to query the Connection Methods which belong to the given Destination.
RCmConnectionMethod
is a representation of a Connection
Method. It can be used to query the attributes of a given Connection Method.
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.
RCmManager
RCmDestination
RCmConnectionMethod