Skip to main content
Version: 8.0.3

monitors

The sos.monitors API groups together methods for providing information about monitors connected to the device.

Methods

getList()

The getList() method returns a list of monitors currently connected to the device.

getList(): Promise<IConnectedMonitor[]>;

API Example

import { sos } from '@signageos/front-applet';

void sos.onReady(async () => {
const monitors = await sos.monitors.getList();

for (const { model, manufacturer, serial } of monitors) {
console.log('Connected monitor: ', { model, manufacturer, serial });
}
});