Telematics SDK - Interface Specification  v1.38.41
telux::tel::CellBroadcastMessage Class Reference

Cell Broadcast message. More...

Public Member Functions

 CellBroadcastMessage (std::shared_ptr< EtwsInfo > etwsInfo)
 
 CellBroadcastMessage (std::shared_ptr< CmasInfo > cmasInfo)
 
MessageType getMessageType () const
 
std::shared_ptr< EtwsInfogetEtwsInfo () const
 
std::shared_ptr< CmasInfogetCmasInfo () const
 

Detailed Description

Cell Broadcast message.

Constructor & Destructor Documentation

telux::tel::CellBroadcastMessage::CellBroadcastMessage ( std::shared_ptr< EtwsInfo etwsInfo)

CellBroadcastMessage constructor.

Parameters
[in]etwsInfoEtwsInfo
telux::tel::CellBroadcastMessage::CellBroadcastMessage ( std::shared_ptr< CmasInfo cmasInfo)

CellBroadcastMessage constructor.

Parameters
[in]cmasInfoCmasInfo

Member Function Documentation

MessageType telux::tel::CellBroadcastMessage::getMessageType ( ) const

Get the cellbroadcast message type.

Returns
MessageType.
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
std::shared_ptr<EtwsInfo> telux::tel::CellBroadcastMessage::getEtwsInfo ( ) const

Get ETWS warning notification containing information about the ETWS warning type, the emergency user alert flag and the popup flag. This method should be called only if message type returned by getMessageType() API is MessageType::ETWS

Returns
pointer to EtwsInfo or null if this is not an ETWS warning notification
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.
std::shared_ptr<CmasInfo> telux::tel::CellBroadcastMessage::getCmasInfo ( ) const

Get CMAS warning notification containing information about the CMAS message class, severity, urgency and certainty.This method should be called only if message type returned by getMessageType() API is MessageType::CMAS

Returns
pointer to CmasInfo or null if this is not a CMAS warning notification
Note
Eval: This is a new API and is being evaluated. It is subject to change and could break backwards compatibility.