Click or drag to resize

Notification Constructor (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.

Namespace:  ImmerseSDK.UI.MessageDisplay
Assembly:  ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax
C#
public Notification(
	string title,
	string iconText,
	string body,
	NotificationIcons icon,
	int priority
)

Parameters

title
Type: SystemString
Top text
iconText
Type: SystemString
Text below the icon
body
Type: SystemString
Message body text
icon
Type: ImmerseSDK.UI.MessageDisplayNotificationIcons
Icon to display
priority
Type: SystemInt32
How important this message is. Messages are sorted on priority, and only the highest priority message is displayed at a time.
See Also