Click or drag to resize

Notification Class

Represents a UI notification message that can be received over the network (from the browser or another player).
Inheritance Hierarchy
SystemObject
  ImmerseSDK.UI.MessageDisplayNotification

Namespace:  ImmerseSDK.UI.MessageDisplay
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public class Notification

The Notification type exposes the following members.

Constructors
  NameDescription
Public methodNotification(String, String, String, NotificationIcons, Int32)
Create a new notification to pass to the VR message display. This message does not have a duration, so is displayed until it is explicitly removed.
Public methodNotification(String, String, String, NotificationIcons, Int32, Single)
Create a new notification to pass to the VR message display for a set duration. If duration is 0, the message will be displayed until it is explicitly removed.
Top
Methods
  NameDescription
Public methodStatic memberGetSprite
Get sprite from Icon type
Top
Fields
  NameDescription
Public fieldBody
Message body text
Public fieldDuration
Message duration. 0 for displaying the message indefinitely
Public fieldIcon
ICon to display on the dialog
Public fieldIconText
Icon text to display on the dialog
Public fieldPriority
Message priority. Messages are sorted on priority, and only the highest priority message is displayed.
Public fieldTitle
Dialog title
Top
See Also