useToastKepler hook provides functionality that allows you to display an on-screen notification. The hook provides the show method which takes the following parameters:
title: A string with the primary text to display.description: A string with the secondary text to display.duration: (optional) The duration of the toast - eitherToastKeplerDuration.SHORTorToastKeplerDuration.LONG. Default value is set toToastKeplerDuration.SHORT.iconUri: A URI in the format of a HTTP(S) URL or a local file URI. For local files, use the format file:///path/to/file.iconSize(optional) A string with a size of the icon. The parameter can takesmall,normalorlargevalues. Default tonormaloptions(optional) An object that enables to extend the Toast with launching app sectionlaunchUriA string with uri of the app to launch.launchTitleA string with the text showed next to the launch icon
Vega support
To use the hook, request thecom.amazon.notification.privilege.post privilege in the app manifest.toml file.

