UTNotifications  1.7
Professional Local & Push Notification Plugin
Public Member Functions | Public Attributes | List of all members
UTNotifications.ReceivedNotification Class Reference

Represents a received notification More...

Public Member Functions

 ReceivedNotification (string title, string text, int id, IDictionary< string, string > userData, string notificationProfile, int badgeNumber)
 

Public Attributes

readonly string title
 The title. More...
 
readonly string text
 The text. More...
 
readonly int id
 The id. More...
 
readonly IDictionary< string, string > userData
 The user data provided by you in Manager.PostLocalNotification, Manager.ScheduleNotification or Manager.ScheduleNotificationRepeating or by your server in a push notification payload. More...
 
readonly string notificationProfile
 The name of the notification profile (sound, icon and other notification attributes). More...
 
readonly int badgeNumber
 The badge number. More...
 

Detailed Description

Represents a received notification

Member Data Documentation

◆ badgeNumber

readonly int UTNotifications.ReceivedNotification.badgeNumber

The badge number.

◆ id

readonly int UTNotifications.ReceivedNotification.id

The id.

◆ notificationProfile

readonly string UTNotifications.ReceivedNotification.notificationProfile

The name of the notification profile (sound, icon and other notification attributes).

◆ text

readonly string UTNotifications.ReceivedNotification.text

The text.

◆ title

readonly string UTNotifications.ReceivedNotification.title

The title.

◆ userData

readonly IDictionary<string, string> UTNotifications.ReceivedNotification.userData

The user data provided by you in Manager.PostLocalNotification, Manager.ScheduleNotification or Manager.ScheduleNotificationRepeating or by your server in a push notification payload.

When the ReceivedNotification is an argument of Manager.OnNotificationClicked event handler, stores the user data of the clicked notification button (if specified). When the notification itself is clicked (even when there are custom buttons), stores the user data of the notification itself.


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