Homey.Notification
const { Notification } = require('homey');
Constructor
new Homey.Notification(options)
Parameters:
Name |
Type |
Description |
options |
Object
|
Name |
Type |
Description |
excerpt |
string
|
A short message describing the notification. Use asterisks to highlight variable words.
|
|
Methods
register(callbackopt) → {Promise}
Register the notification.
This is a shorthand method for ManagerNotifications.registerNotification()
.
Parameters:
Name |
Type |
Attributes |
Description |
callback |
genericCallbackFunction
|
<optional>
|
|