Telematics SDK - Interface Specification
v1.39.0
|
Cell Broadcast message. More...
Public Member Functions | |
CellBroadcastMessage (MessageType type, std::shared_ptr< EtwsInfo > etwsWarningInfo, std::shared_ptr< CmasInfo > cmasWarningInfo) | |
MessageType | getMessageType () const |
std::shared_ptr< EtwsInfo > | getEtwsWarningInfo () const |
std::shared_ptr< CmasInfo > | getCmasWarningInfo () const |
Cell Broadcast message.
telux::tel::CellBroadcastMessage::CellBroadcastMessage | ( | MessageType | type, |
std::shared_ptr< EtwsInfo > | etwsWarningInfo, | ||
std::shared_ptr< CmasInfo > | cmasWarningInfo | ||
) |
CellBroadcastMessage constructor.
[in] | type | MessageType |
[in] | etwsWarningInfo | EtwsInfo |
[in] | cmasWarningInfo | CmasInfo |
MessageType telux::tel::CellBroadcastMessage::getMessageType | ( | ) | const |
Get the cellbroadcast message type.
std::shared_ptr<EtwsInfo> telux::tel::CellBroadcastMessage::getEtwsWarningInfo | ( | ) | 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
std::shared_ptr<CmasInfo> telux::tel::CellBroadcastMessage::getCmasWarningInfo | ( | ) | 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