FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.UI.Widgets.Notifications.Notification Class Reference

UI Element representing a notification, displayed in the notifications widget. More...

Inheritance diagram for FMAR.UI.Widgets.Notifications.Notification:

Public Member Functions

Notification Init (Notifications widget, Internal.Notifications.Notification notification, int index)
 Initializes the notification with the specified widget, notification data, and index.
 
void OnClick ()
 Handles the click event on the notification, triggering the associated link.
 
void OnPointerEnter (PointerEventData eventData)
 Handles the pointer enter event, marking the notification as seen if it hasn't been seen yet.
 

Detailed Description

UI Element representing a notification, displayed in the notifications widget.

Member Function Documentation

◆ Init()

Notification FMAR.UI.Widgets.Notifications.Notification.Init ( Notifications widget,
Internal.Notifications.Notification notification,
int index )
inline

Initializes the notification with the specified widget, notification data, and index.

Parameters
widgetThe parent widget that contains this notification.
notificationThe notification data.
indexThe index of the notification in the list.
Returns
The initialized notification.

◆ OnClick()

void FMAR.UI.Widgets.Notifications.Notification.OnClick ( )
inline

Handles the click event on the notification, triggering the associated link.

◆ OnPointerEnter()

void FMAR.UI.Widgets.Notifications.Notification.OnPointerEnter ( PointerEventData eventData)
inline

Handles the pointer enter event, marking the notification as seen if it hasn't been seen yet.

Parameters
eventDataPointer event data.

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