![]() |
UTNotifications
1.8
Professional Local & Push Notification Plugin
|
A clicked notification of any type. More...
Public Member Functions | |
ClickedNotification (Notification notification, int clickedButtonIndex) | |
Initializes a new instance of the T:UTNotifications.ClickedNotification class. More... | |
ClickedNotification (JSONNode json) | |
Initializes a new instance of the T:UTNotifications.ClickedNotification class. More... | |
![]() | |
ReceivedNotification (Notification notification) | |
Initializes a new instance of the T:UTNotifications.ReceivedNotification class. More... | |
ReceivedNotification (JSONNode json) | |
Initializes a new instance of the T:UTNotifications.ReceivedNotification class. More... | |
Public Attributes | |
const int | BUTTON_NONE = -1 |
Used instead of clicked button index if the notification itself was clicked and not its button. More... | |
readonly int | clickedButtonIndex |
The index of the clicked button or ClickedNotification.BUTTON_NONE . More... | |
Properties | |
override IDictionary< string, string > | userData [get] |
Gets the user data of a clicked notification or a button that was clicked. More... | |
![]() | |
Notification | notification [get] |
Returns the underlying notification object. More... | |
string | title [get] |
Gets the received notification title. More... | |
string | text [get] |
Gets the received notification text. More... | |
int | id [get] |
Gets the received notification id. More... | |
virtual IDictionary< string, string > | userData [get] |
Gets the received notification user data if any. More... | |
string | notificationProfile [get] |
Gets the received notification profile if any. More... | |
int | badgeNumber [get] |
Gets the received notification badge number. More... | |
ICollection< Button > | buttons [get] |
Gets the received notification buttons if any. More... | |
A clicked notification of any type.
UTNotifications.ClickedNotification.ClickedNotification | ( | Notification | notification, |
int | clickedButtonIndex | ||
) |
Initializes a new instance of the T:UTNotifications.ClickedNotification class.
notification | Notification that was received / clicked. |
clickedButtonIndex | Clicked button index. |
UTNotifications.ClickedNotification.ClickedNotification | ( | JSONNode | json | ) |
Initializes a new instance of the T:UTNotifications.ClickedNotification class.
json | Clicked notification json. |
const int UTNotifications.ClickedNotification.BUTTON_NONE = -1 |
Used instead of clicked button index if the notification itself was clicked and not its button.
readonly int UTNotifications.ClickedNotification.clickedButtonIndex |
The index of the clicked button or ClickedNotification.BUTTON_NONE
.
|
get |
Gets the user data of a clicked notification or a button that was clicked.
The user data.