App Lifecycle

When users configure your app via its inputs, we call that a presentation. Presentations are assigned durations, added to playlists and then published to devices.

To avoid showing loading state and FOUCExternal Link, a Raydiant app will only become visible on screen after its window’s onloadExternal Link handler is called.

Depending on if there is one or many presentations in the playlist, your app’s lifecycle will look a bit different.

Single Presentation

single presentation
single presentation

When there is only a single presentation in a playlist, your app will be loaded in the background when the device starts.

When the device detects that the app has finished loading it will become visible on the screen.

Multiple Presentations

multiple presentations
multiple presentations

When there are multiple presentations in a playlist, your app will be immediately loaded in the background when it’s the next presentation in the playlist.

When the current presentation is complete and your app has finished loading it will become visible on the screen.

Next Steps


Was this article helpful to you?
GitHubProvide feedback

Last edited on November 29, 2024.
GitHubEdit this page