--- title: "showToaster()" slug: "showtoaster" updated: 2025-02-17T19:42:18Z published: 2025-02-17T19:42:18Z canonical: "docs.developer.comcast.com/showtoaster" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.developer.comcast.com/llms.txt > Use this file to discover all available pages before exploring further. # showToaster() ## showToaster() Displays a notification (or "toaster") in the upper right quadrant of the TV screen. The method accepts a `messageIdentifier` that is predefined by Comcast. The identifier is used to look up the actual message text that will be displayed on the notification. #### Signature: `$badger.showToaster(messageIdentifier)` #### Parameters: | parameter | description | data type | required? | | --- | --- | --- | --- | | messageIdentifier | An identifier to a message that is predefined by Comcast. For mandatory integration, the parameter is `ExitMessage.PressExit` | String | Yes | #### Return Values: None. #### Usage Example: When an X1 App calls the method below a notification with the message *"Press EXIT or MENU close this app"* will be shown to a user and auto timeout after 10s. For Smart TV Device, the notification will read *"Press HOME to close this app".* ``` $badger.showToaster('ExitMessage.PressExit'); ``` #### Mandatory integration: When a customer launches content from a [deep link](/docs/deep-linking), `$badger.showToaster('ExitMessage.PressExit');` must be called on the **first playback in an app session** when: - the credits start; - the notification that another asset is about to autoplay appears; - or the video asset is 15 seconds from completion. This does not apply to explicit app launches, only to content launches. Do not call `showToaster` on subsequent playback within the same app session (example: the user autoplays the next content item after the first completes).