Yurba Docs
Yurba Documentation

Get started

Accounts

Apps

Users

Relationships

Dialogs (Messages)

Tracks (MuseBase)

Photos

Posts

Comments

Safety

Other

Yurba CDN (cdn.yurba.one)

Yurba Desktop API

Yurba Component Language

METHOD createSystemNotification

Structure

createSystemNotification: String name Methods structure

createSystemNotification { Method prepare { icon: Path, // Local path to the image title: String, content: String }, Method show } Description

Create a system notification. First, create a unique identifier, then use prepare to fill the notification with content, and then use show to display it.

Example usage

const myNotification = app.createSystemNotification("myNotification") myNotification.prepare({ icon: "icon.png", title: "Hello world", content: "This is my test notification" }) myNotification.show()