This SDK consists of a standalone JavaScript file, rvhost4.js, which JavaScript developers can use in their own HTML applications to tap into ReflectView's hosted application features. By hosted, we are referring to either running in Active Chromium on a PC. When the ReflectView Player for PC needs to run an HTML application, launches Active Chromium for the duration given to it for the app or until the app exits by calling the host's exit method. You can run Active Chromium without running the Player by following the instructions in the included SetupGuide.pdf.
- ReflectView Player for Windows
- ReflectView Player for BrightSign
- ReflectView Player for Andriod
- ReflectView Player for supported Samsung TVs
If you run the index.html in Active Chromium, you can interactively run the rvhost4 methods and see the results in the interface. Some of the responses are dependent on configuring things in ReflectView. For example, getLocationInfo is not very useful if your Player is not assigned to a Location in the ReflectView Publisher. Legacy methods are not included in the test application.
The documentation for rvhost4.js is included in the doc folder. If you open RVHost.html in any web browser, you will find all of the RVHost methods documented there.
Install by running: npm -i @creative-realities/rvhost
Setup by running:
import RVHost from 'rvhost';
const rvHost = new RVHost();