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 FOUC, a Raydiant app will only become visible on screen after its window’s onload
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
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
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
- Learn about the different duration modes (fixed vs dynamic)
- How to add inputs to your app
- How to hook into the app lifecycle with the Raydiant SDK
Was this article helpful to you?
Provide feedback
Last edited on November 29, 2024.
Edit this page