Documentation
On this page

Function · Desktop Services

showNotification

Displays a native desktop notification.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Signature

TypeScript
showNotification(options: DesktopNotificationOptions): Promise<void>

Parameters

NameTypeDescription
optionsDesktopNotificationOptionsNotification title, body, and sound options.

Returns

Promise<void> — A promise completed after the notification request is submitted.

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:1484 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.