Client Library
In the Quick Start guide you learned how to test your app to see how it runs on the Senza platform. Now it's time to integrate your app with the Senza client library so that you can take advantage of all the platform has to offer.
If you already have an HTML5 app that's designed to run on a television, the changes required are relatively straightforward. The main thing you'll want to do is integrate with the application lifecycle and remote player so that you can play video in the background.
If you're starting with a web app that's designed to run on a desktop or mobile device, you'll have a little more work to adapt your app to support Remote Control input.
See the Requirements page for more details on compatibility with the Senza platform.
Required Steps
Here are some necessary steps you'll want to follow to integrate your app with the client library:
- Install the library in your development environment.
- Initialize the library when your app starts up.
- Add support for Remote Control input.
- Add support for App Lifecycle transitions.
- Integrate with the Remote Player to play video in the background.
The Reference Integration summarizes how to perform the above steps.
Optional Steps
The client library also provides functionality to let you:
- Add support for device-based Authentication.
- Get device info from the Device Manager.
- Schedule future events using the Alarm Manager.
- Send messages to devices using the Message Manager.
Release Notes
Browse the Release Notes to see the latest updates to the client library.
Updated 5 months ago