Because TV users spend most of their time on immersive activities, sending notifications is not allowed on webOS TV. All types o f notifications are reserved for system related events.
There are two types of notifications:
The purpose of the toast notification is to inform the user, but without requiring action from the user. Toasts appear as an overlay at the top right corner of the screen.
Key Features of Toasts
- Non-modal notifications that appear as an overlay on the experience
- Transient in nature, and disappears after 5 seconds
- Appears one at a time, in the order received
- Does not require an action from the user
- Actionable, and serves as a shortcut to take the user directly to an area where they can take action if they want.
- Features a 'close' button.
- Selecting the Close button mutes notifications
The toast notification can be shown on the screen with the virtual keyboard simultaneously.
Alerts are reserved for critical System events. The purpose of an alert is to inform the user about something critical, and requires immediate action by the user to maintain quality of experience. Alert notifications appear at the bottom section of the screen, on top of whichever app is currently in use.
Alert messages have the below design layout:
- Alert Title - Title of the alert message
- Alert message - Brief description of what happened, why it happened, and what needs to be done.
- Action buttons - Possible actions the user can take. There could be multiple buttons shown.
Key Features of Alerts
- Dialogs appear on top of whichever app is currently in use, including the Home Screen
- Can be modal or non-modal
- Requires an action from the user
- Offers the user one or more possible actions from which to choose
- Can trigger App to pause content below, if defined by the App
- Cannot be muted or throttled by the user
- You can dictate whether background content will pause or not.
A modal type alert cannot use other features in the background until the alert window is closed, whereas a non-modal type alert can use other features in the background while the alert is up on screen.
If the virtual keyboard is present when an alert is generated, the virtual keyboard will animate off screen before the alert appears. An alert will never overlay the virtual keyboard. See Layering with the Virtual Keyboard for more information.
However, the appearance of an alert will cause the virtual keyboard to hide. The virtual keyboard will reappear once the alert is dismissed. If the user selects a text field when a non-modal alert is displayed on the screen, the alert will be self-dismissed before the virtual keyboard appears. The user cannot interact with text fields in the content area while modal alerts are displayed on the screen.