MessageDisplayDialogData Properties |
The MessageDisplayDialogData type exposes the following members.
Name | Description | |
---|---|---|
AllowInput |
Allows the hand to go into the laser mode and provide a way to press buttons in VR.
| |
CurrentProgress |
The current progress that will be displayed on a progress bar (if the layout supports it)
| |
DurationInSeconds |
Message duration in seconds. Specify 0 for displaying the message indefinitely
| |
HasExpired |
Returns true if this notification has a duration and the time since it's show time is up
| |
Layout |
Specifies this message's layout
| |
MainImage |
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.
| |
MainSprite |
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.
| |
MainSpriteText |
Optional Sprite text to display on the dialog. The dialog's layout will be change appropriately.
| |
MainText |
Text to display in the first (or only) column.
| |
OnCancelButtonClick |
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.
| |
OnClose |
If specified, this handler will be called when the dialog is closed.
| |
OnOkButtonClick |
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.
| |
Priority |
Message priority. Messages are sorted on priority, and only the highest priority message is displayed.
| |
ProgressColor |
The color for the progress bar (if the layout supports it)
| |
SecondaryImage |
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.
| |
SecondarySprite |
Sprite to display on the dialog in the second column. The dialog's layout will be change appropriately.
| |
SecondarySpriteText |
Optional Sprite text to display on the dialog. The dialog's layout will be change appropriately.
| |
SecondaryText |
Text to display in the second column
| |
ShouldTrackCamera |
Set this to true if you want the dialog to stay in front of the user's view and track their head camera
| |
ShowDuration |
Returns the number of seconds this dialog has been displayed for
| |
ShowOnlyInVr |
Only display this dialog in VR
| |
TimeLeft |
How much time is left to show this dialog
| |
Title |
Dialog title text
|