Skip to content

Notifications

Nathan S edited this page Jun 16, 2020 · 2 revisions

On top of the view stack of every application resides a "notifications" layer that can be used to post text notifications to the user. The notifications are displayed in the top-right corner of the screen to avoid clashing with the top-left HOS notifications.

To post one, simply call the Application::notify method with its text. You can post up to 8 notifications on screen at the same time. There is currently no way of specifying the timeout delay of individual notifications, but you can set the delay for all of them in your application style (default is 4 seconds).

Clone this wiki locally