An event argument for when a notification is sent.
More...
#include <notificationsenteventargs.h>
An event argument for when a notification is sent.
◆ NotificationSentEventArgs()
| Nickvision::Notifications::NotificationSentEventArgs::NotificationSentEventArgs |
( |
const std::string & | message, |
|
|
NotificationSeverity | severity, |
|
|
const std::string & | action = "", |
|
|
const std::string & | actionParam = "" ) |
|
noexcept |
Constructs a NotificationSentEventArgs.
- Parameters
-
| message | The message of the notification |
| severity | The severity of the notification |
| action | An additional action for the notification |
| actionParam | The parameter of the additional action |
◆ getAction()
| const std::string & Nickvision::Notifications::NotificationSentEventArgs::getAction |
( |
| ) |
const |
|
noexcept |
Gets the optional action of the notification.
- Returns
- The optional action of the notification
◆ getActionParam()
| const std::string & Nickvision::Notifications::NotificationSentEventArgs::getActionParam |
( |
| ) |
const |
|
noexcept |
Gets the parameter of the optional action.
- Returns
- The parameter of the optional action
◆ getMessage()
| const std::string & Nickvision::Notifications::NotificationSentEventArgs::getMessage |
( |
| ) |
const |
|
noexcept |
Gets the message of the notification.
- Returns
- The message of the notification
◆ getSeverity()
Gets the severity of the notification.
- Returns
- The severity of the notification
◆ m_action
| std::string Nickvision::Notifications::NotificationSentEventArgs::m_action |
|
protected |
◆ m_actionParam
| std::string Nickvision::Notifications::NotificationSentEventArgs::m_actionParam |
|
protected |
◆ m_message
| std::string Nickvision::Notifications::NotificationSentEventArgs::m_message |
|
protected |
◆ m_severity
The documentation for this class was generated from the following file: