NotificationService
Up and coming: shot check knows this class and its members today, and programs run it once the native runtime lands.
Up and coming
Show a Windows notification when something needs you and your program's window is hidden.
NotifyAsync shows the pop-up in the corner of the screen, with its entry in the notification list, and gives a Notification, a child of NotificationService until it is dismissed.
A service: write use NotificationService.
local function example(x : NotificationService)
local note, why = x:NotifyAsync({ Title = "Usage", Text = "85% used", Tag = "usage" })
print(note and note.Tag, why)
endMethods
| Name | Arguments | Returns | Description |
|---|---|---|---|
| NotifyAsync yields | (options: { Title: string, Text: string, Tag: string?, Silent: boolean? }) | (Notification?, string?) | Shows a Windows notification with the Title and Text given; it stays a child of NotificationService until dismissed. |
From ShotInstance 33
ClassNameNameParentAncestryChangedAttributeChangedChangedChildAddedChildRemovedDestroyingAddTagClearAllChildrenCloneDestroyFindFirstAncestorFindFirstAncestorOfClassFindFirstAncestorWhichIsAFindFirstChildFindFirstChildOfClassFindFirstChildWhichIsAGetAttributeGetAttributeChangedSignalGetAttributesGetChildrenGetDescendantsGetFullNameGetPropertyChangedSignalGetTagsHasTagIsAIsAncestorOfIsDescendantOfRemoveTagSetAttribute
