UTNotifications  1.8
Professional Local & Push Notification Plugin
Public Member Functions | Public Attributes | Properties | List of all members
UTNotifications.ClickedNotification Class Reference

A clicked notification of any type. More...

Inheritance diagram for UTNotifications.ClickedNotification:
UTNotifications.ReceivedNotification

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...
 
- Public Member Functions inherited from UTNotifications.ReceivedNotification
 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...
 
- Properties inherited from UTNotifications.ReceivedNotification
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< Buttonbuttons [get]
 Gets the received notification buttons if any. More...
 

Detailed Description

A clicked notification of any type.

Constructor & Destructor Documentation

◆ ClickedNotification() [1/2]

UTNotifications.ClickedNotification.ClickedNotification ( Notification  notification,
int  clickedButtonIndex 
)

Initializes a new instance of the T:UTNotifications.ClickedNotification class.

Parameters
notificationNotification that was received / clicked.
clickedButtonIndexClicked button index.

◆ ClickedNotification() [2/2]

UTNotifications.ClickedNotification.ClickedNotification ( JSONNode  json)

Initializes a new instance of the T:UTNotifications.ClickedNotification class.

Parameters
jsonClicked notification json.

Member Data Documentation

◆ BUTTON_NONE

const int UTNotifications.ClickedNotification.BUTTON_NONE = -1

Used instead of clicked button index if the notification itself was clicked and not its button.

◆ clickedButtonIndex

readonly int UTNotifications.ClickedNotification.clickedButtonIndex

The index of the clicked button or ClickedNotification.BUTTON_NONE.

Property Documentation

◆ userData

override IDictionary<string, string> UTNotifications.ClickedNotification.userData
get

Gets the user data of a clicked notification or a button that was clicked.

The user data.


The documentation for this class was generated from the following file: