Skip to main content
Version: 6.5.7

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"
}
]