Telematics SDK - API Reference  v1.54.0
Telematics_platform_deviceinfo

Data Structures

class  telux::platform::IDeviceInfoListener
 Listener class for getting device info related notifications . The client needs to implement these methods as briefly as possible and avoid blocking calls in it. The methods in this class can be invoked from multiple different threads. Client needs to make sure that the implementation is thread-safe. More...
 
struct  telux::platform::PlatformVersion
 
class  telux::platform::IDeviceInfoManager
 IDeviceInfoManager provides interface to to retrieve IMEI and platform version operations. More...
 

Detailed Description


Data Structure Documentation

class telux::platform::IDeviceInfoListener

Listener class for getting device info related notifications . The client needs to implement these methods as briefly as possible and avoid blocking calls in it. The methods in this class can be invoked from multiple different threads. Client needs to make sure that the implementation is thread-safe.

Public Member Functions

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

Constructor & Destructor Documentation

virtual telux::platform::IDeviceInfoListener::~IDeviceInfoListener ( )
virtual

Destructor of IDeviceInfoListener

struct telux::platform::PlatformVersion

Structure contains the version of the platform software

Data Fields
string meta

Meta Version, for example: SA2150P_SA515M.LE_LE.1-3_2-1-00297-STD.INT-1

string modem

Modem Version, for example: MPSS.HI.3.1.c3-00114-SDX55_GENAUTO_TEST-1

string externalApp

External App Version, for example: LE.UM.3.2.3-72102-SA2150p.Int-1

string integratedApp

Integrated App MDM Version, for example: LE.UM.4.1.1-71802-sa515m.Int-1

class telux::platform::IDeviceInfoManager

IDeviceInfoManager provides interface to to retrieve IMEI and platform version operations.

Public Member Functions

virtual telux::common::ServiceStatus getServiceStatus ()=0
 
virtual telux::common::Status registerListener (std::weak_ptr< IDeviceInfoListener > listener)=0
 
virtual telux::common::Status deregisterListener (std::weak_ptr< IDeviceInfoListener > listener)=0
 
virtual telux::common::Status getPlatformVersion (PlatformVersion &pv)=0
 
virtual telux::common::Status getIMEI (std::string &imei)=0
 
virtual ~IDeviceInfoManager ()
 

Constructor & Destructor Documentation

virtual telux::platform::IDeviceInfoManager::~IDeviceInfoManager ( )
virtual

Destructor of IDeviceInfoManager

Member Function Documentation

virtual telux::common::ServiceStatus telux::platform::IDeviceInfoManager::getServiceStatus ( )
pure virtual

This status indicates whether the object is in a usable state.

Returns
telux::common::ServiceStatus indicating the current status of the device info service.
virtual telux::common::Status telux::platform::IDeviceInfoManager::registerListener ( std::weak_ptr< IDeviceInfoListener listener)
pure virtual

Registers the listener for FileSystem Manager indications.

Parameters
[in]listener- pointer to implemented listener.
Returns
status of the registration request.
virtual telux::common::Status telux::platform::IDeviceInfoManager::deregisterListener ( std::weak_ptr< IDeviceInfoListener listener)
pure virtual

Deregisters the previously registered listener.

Parameters
[in]listener- pointer to registered listener that needs to be removed.
Returns
status of the deregistration request.
virtual telux::common::Status telux::platform::IDeviceInfoManager::getPlatformVersion ( PlatformVersion pv)
pure virtual

Get the platform version. Need obtain required permissions from telux_allow_version.

Parameters
[out]pv- telux::platform::PlatformVersion
Returns
- telux::common::Status
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::platform::IDeviceInfoManager::getIMEI ( std::string &  imei)
pure virtual

Get the international mobile equipment identity.

Parameters
[out]imei- std::string
Returns
- telux::common::Status
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.