Skip to content

Latest commit

 

History

History
83 lines (51 loc) · 1.34 KB

native_notification.md

File metadata and controls

83 lines (51 loc) · 1.34 KB

NativeNotification

Description

This node would show the user a brief message and then fade away.

Native Notification

Properties

Type Name Default value
Icon notification_icon 1
String notification_text ""
String title "Alert!"

Methods

Returned type Declaration
void send()

Enumerations

enum Icon

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.

Property Descriptions

Icon notification_icon = 1

The icon displayed by the notification.

void set_icon(Icon value)

Icon get_icon()

String notification_text = ""

The text displayed by the notification.

void set_text(String value)

String get_text()

String title = "Alert!"

The notification's title.

void set_title(String value)

String get_title()

Method Descriptions

void send()

Sends the notification to appear to the user and then fade away.