Skip to main content
Version: 6.4.2

Monitors

Provides information about currently connected monitors. Such as manufacturer, model, serial, firmware (optional).

All methods

Method/EventsDescriptionSupported since
getList()Method gets list of monitors.4.0.0

getList()

Monitor object

Here is the monitor object defined as Typescript interface:

interface IMonitor {
manufacturer: string;
model: string;
serial: string;
firmware?: string;
}

Javascript example

// gets list of monitors
await sos.monitors.getList();

Returns

[
{
"model":"LG Ultra HD",
"manufacturer":"GSM",
"serial":"232111"
}
]