Click or drag to resize

MessageDisplayDialogData Properties

The MessageDisplayDialogData type exposes the following members.

Properties
  NameDescription
Public propertyAllowInput
Allows the hand to go into the laset mode and provide a way to press buttons in VR.
Public propertyCurrentProgress
The current progress that will be displayed on a progress bar (if the layout supports it)
Public propertyDurationInSeconds
Message duration in seconds. Specify 0 for displaying the message indefinitely
Public propertyHasExpired
Returns true if this notification has a duration and the time since it's show time is up
Public propertyLayout
Specifies this message's layout
Public propertyMainImage
Main Image to display on the dialog (in the first column if there is one). The dialog's layout will be change appropriately. Set either MainImage or MainSprite. Only one will be used.
Public propertyMainSprite
Sprite to display on the dialog in the first (or only) column. The dialog's layout will be change appropriately. Set either MainImage or MainSprite. Only one will be used.
Public propertyMainSpriteText
Optional Sprite text to display on the dialog. The dialog's layout will be change appropriately.
Public propertyMainText
Text to display in the first (or only) column.
Public propertyOnCancelButtonClick
If specified, the Cancel button will be displayed, and this handler will be called when it is pressed. If this handler is not specified, the Cancel button is hidden.
Public propertyOnClose
If specified, this handler will be called when the dialog is closed.
Public propertyOnOkButtonClick
If specified, the Ok button will be displayed, and this handler will be called when it is pressed. If this handler is not specified, the Ok button is hidden.
Public propertyPriority
Message priority. Messages are sorted on priority, and only the highest priority message is displayed.
Public propertyProgressColor
The color for the progress bar (if the layout supports it)
Public propertySecondaryImage
Secondary Image to display on the dialog in the second column. The dialog's layout will be change appropriately. Set either SecondaryImage or SecondarySprite. Only one will be used.
Public propertySecondarySprite
Sprite to display on the dialog in the second column. The dialog's layout will be change appropriately.
Public propertySecondarySpriteText
Optional Sprite text to display on the dialog. The dialog's layout will be change appropriately.
Public propertySecondaryText
Text to display in the second column
Public propertyShouldTrackCamera
Set this to true if you want the dialog to stay in front of the user's view and track their head camera
Public propertyShowDuration
Returns the number of seconds this dialog has been displayed for
Public propertyShowOnlyInVr
Only display this dialog in VR
Public propertyTimeLeft
How much time is left to show this dialog
Public propertyTitle
Dialog title text
Top
See Also