Telematics SDK - Interface Specification  v1.33.56
Telematics_ecall

Data Structures

class  telux::tel::IEcallManager
 IEcallManager allows operations related to automotive emergency call management and its related configurations. More...
 
class  telux::tel::IEcallListener
 Listener class to notify service status change notifications. The listener method can be invoked from multiple different threads. Client needs to make sure that implementation is thread-safe. More...
 

Detailed Description


Data Structure Documentation

class telux::tel::IEcallManager

IEcallManager allows operations related to automotive emergency call management and its related configurations.

Public Member Functions

virtual telux::common::ServiceStatus getServiceStatus ()=0
 
virtual telux::common::Status setConfig (EcallConfig config)=0
 
virtual telux::common::Status getConfig (EcallConfig &config)=0
 
virtual telux::common::Status registerListener (std::weak_ptr< IEcallListener > listener)=0
 
virtual telux::common::Status deregisterListener (std::weak_ptr< IEcallListener > listener)=0
 
virtual ~IEcallManager ()
 

Constructor & Destructor Documentation

virtual telux::tel::IEcallManager::~IEcallManager ( )
virtual

Member Function Documentation

virtual telux::common::ServiceStatus telux::tel::IEcallManager::getServiceStatus ( )
pure virtual

Checks the status of IEcallManager sub-system and returns the result.

Returns
the status of IEcallManager sub-system status telux::common::ServiceStatus
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
virtual telux::common::Status telux::tel::IEcallManager::setConfig ( EcallConfig  config)
pure virtual

Set the configuration related to emergency call. The configuration is persistent and takes effect when the next emergency call is dialed.

Parameters
[in]configeCall configuration to be set EcallConfig
Returns
Status of setConfig i.e. success or suitable error code.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
virtual telux::common::Status telux::tel::IEcallManager::getConfig ( EcallConfig config)
pure virtual

Get the configuration related to emergency call.

Parameters
[out]configParameter to hold the fetched eCall configuration EcallConfig
Returns
Status of getConfig i.e. success or suitable error code.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
virtual telux::common::Status telux::tel::IEcallManager::registerListener ( std::weak_ptr< IEcallListener listener)
pure virtual

Register a listener for notifications from the EcallManager.

Parameters
[in]listenerPointer to IEcallListener object that processes the notification
Returns
Status of registerListener i.e. success or suitable error code.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
virtual telux::common::Status telux::tel::IEcallManager::deregisterListener ( std::weak_ptr< IEcallListener listener)
pure virtual

Deregister a previously registered listener.

Parameters
[in]listenerPointer to IEcallListener object that needs to be deregistered.
Returns
Status of deregisterListener i.e. success or suitable error code.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
class telux::tel::IEcallListener

Listener class to notify service status change notifications. The listener method can be invoked from multiple different threads. Client needs to make sure that implementation is thread-safe.

Public Member Functions

virtual ~IEcallListener ()
 
- Public Member Functions inherited from telux::common::IServiceStatusListener
virtual void onServiceStatusChange (ServiceStatus status)
 
virtual ~IServiceStatusListener ()
 

Constructor & Destructor Documentation

virtual telux::tel::IEcallListener::~IEcallListener ( )
virtual

Destructor of IEcallListener