- Deprecated:
- fin.Notification has been deprecated and replaced with the Notifications API. Please migrate to the Notifications API.
Methods
(static) create(options) → {_Notification}
Creates a new Notification.
Parameters:
Name | Type | Description |
---|---|---|
options |
object |
- Deprecated:
- Please migrate to the Notifications API.
- Tutorials:
Returns:
- Type
- _Notification
(async) close() → {Promise.<void>}
Closes the notification
- Deprecated:
- Please migrate to the Notifications API.
- Tutorials:
Returns:
- Type
- Promise.<void>
(async) sendMessage(message) → {Promise.<void>}
Sends a message to the notification.
Parameters:
Name | Type | Description |
---|---|---|
message |
any | The message to be sent to the notification. Can be either a primitive data type (string, number, or boolean) or composite data type (object, array) that is composed of other primitive or composite data types |
- Deprecated:
- Please migrate to the Notifications API.
- Tutorials:
Returns:
- Type
- Promise.<void>
(async) show() → {Promise.<void>}
Invoked when the notification is shown
- Deprecated:
- Please migrate to the Notifications API.
- Tutorials:
Returns:
- Type
- Promise.<void>