Cell Broadcast message.
More...
telux::tel::CellBroadcastMessage::CellBroadcastMessage |
( |
std::shared_ptr< EtwsInfo > |
etwsInfo | ) |
|
telux::tel::CellBroadcastMessage::CellBroadcastMessage |
( |
std::shared_ptr< CmasInfo > |
cmasInfo | ) |
|
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.