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

A received or clicked notification of any type. More...

Inheritance diagram for UTNotifications.ReceivedNotification:
UTNotifications.ClickedNotification

Public Member Functions

 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...
 

Properties

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 received or clicked notification of any type.

Constructor & Destructor Documentation

◆ ReceivedNotification() [1/2]

UTNotifications.ReceivedNotification.ReceivedNotification ( Notification  notification)

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

Parameters
notificationNotification that was received / clicked.

◆ ReceivedNotification() [2/2]

UTNotifications.ReceivedNotification.ReceivedNotification ( JSONNode  json)

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

Parameters
jsonReceived notification json.

Property Documentation

◆ badgeNumber

int UTNotifications.ReceivedNotification.badgeNumber
get

Gets the received notification badge number.

The received notification badge number.

◆ buttons

ICollection<Button> UTNotifications.ReceivedNotification.buttons
get

Gets the received notification buttons if any.

The received notification buttons or null.

◆ id

int UTNotifications.ReceivedNotification.id
get

Gets the received notification id.

The received notification id.

◆ notification

Notification UTNotifications.ReceivedNotification.notification
get

Returns the underlying notification object.

The underlying notification object.

◆ notificationProfile

string UTNotifications.ReceivedNotification.notificationProfile
get

Gets the received notification profile if any.

The received notification profile or null.

◆ text

string UTNotifications.ReceivedNotification.text
get

Gets the received notification text.

The received notification text.

◆ title

string UTNotifications.ReceivedNotification.title
get

Gets the received notification title.

The received notification title.

◆ userData

virtual IDictionary<string, string> UTNotifications.ReceivedNotification.userData
get

Gets the received notification user data if any.

The received notification user data or null.


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