Telematics SDK - Interface Specification  v1.38.19
telux::tel::ICellBroadcastListener Class Reference

A listener class which monitors cell broadcast messages. More...

Public Member Functions

virtual void onIncomingMessage (SlotId slotId, const std::shared_ptr< CellBroadcastMessage > cbMessage)
 
virtual void onMessageFilterChange (SlotId slotId, std::vector< CellBroadcastFilter > filters)
 
virtual ~ICellBroadcastListener ()
 
- Public Member Functions inherited from telux::common::IServiceStatusListener
virtual void onServiceStatusChange (ServiceStatus status)
 
virtual ~IServiceStatusListener ()
 

Detailed Description

A listener class which monitors cell broadcast messages.

The methods in listener can be invoked from multiple different threads. The implementation should be thread safe.

Constructor & Destructor Documentation

virtual telux::tel::ICellBroadcastListener::~ICellBroadcastListener ( )
virtual

Member Function Documentation

virtual void telux::tel::ICellBroadcastListener::onIncomingMessage ( SlotId  slotId,
const std::shared_ptr< CellBroadcastMessage cbMessage 
)
virtual

This function is called when device receives an incoming cell broadcast message.

Parameters
[in]slotId- Slot Id on which broadcast message is received.
[in]cbMessage- Broadcast message with information related to ETWS/CMAS notification.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
virtual void telux::tel::ICellBroadcastListener::onMessageFilterChange ( SlotId  slotId,
std::vector< CellBroadcastFilter filters 
)
virtual

This function is called when there is change in broadcast configuration like updation of message filters by the client using ICellBroadcastManager::updateMessageFilters.

Parameters
[in]slotId- Slot Id on which change in message filters is received.
[in]filters- Complete list of configured broadcast message filters.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.