This node would show the user a brief message and then fade away.
Type | Name | Default value |
---|---|---|
Icon |
notification_icon |
1 |
String |
notification_text |
"" |
String |
title |
"Alert!" |
Returned type | Declaration |
---|---|
void |
send() |
Icon ICON_INFO = 0
Usually an icon with the letter i in a blue circle*.
Icon ICON_WARNING = 1
Usually an icon with an exclamation mark in a yellow triangle*.
Icon ICON_ERROR = 2
Usually an icon with a cross in a red circle*.
(*) Depends on your OS theme.
The icon displayed by the notification.
void set_icon(Icon value)
Icon get_icon()
The text displayed by the notification.
void set_text(String value)
String get_text()
The notification's title.
void set_title(String value)
String get_title()
Sends the notification to appear to the user and then fade away.