- Deprecated:
- fin.Notification has been deprecated and will be removed by major version 22. Please migrate to the Notification Center API.
Methods
(static) create(options) → {_Notification}
Creates a new Notification.
Parameters:
Name | Type | Description |
---|---|---|
options |
object |
- Deprecated:
- fin.Notification has been deprecated and will be removed by major version 22. Please migrate to the Notification Center API.
- Tutorials:
Returns:
- Type
- _Notification
(async) close() → {Promise.<void>}
Closes the notification
- Deprecated:
- fin.Notification has been deprecated and will be removed by major version 22. Please migrate to the Notification Center 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:
- fin.Notification has been deprecated and will be removed by major version 22. Please migrate to the Notification Center API.
- Tutorials:
Returns:
- Type
- Promise.<void>
(async) show() → {Promise.<void>}
Invoked when the notification is shown
- Deprecated:
- fin.Notification has been deprecated and will be removed by major version 22. Please migrate to the Notification Center API.
- Tutorials:
Returns:
- Type
- Promise.<void>