monitorsInfoUpdated

TrueConfAbout 2 min

monitorsInfoUpdated

Description: Notification coming after information about monitors changes: list, current index, etc.

Example:

{
    "event": "monitorsInfoUpdated",
    "monitors": [
        {
            "name": "PHL 275E1",
            "primary": true,
            "index": 0,
            "ignored": false,
            "geomMonitor": {
                "x": 0,
                "y": 0,
                "width": 2560,
                "height": 1440
            },
            "geomWork": {
                "x": 0,
                "y": 0,
                "width": 2560,
                "height": 1380
            },
            "deviceInstancePath": "display\\phl2751e\\4&1e135148&0&uid777666",
            "id": "display\\phl2751e\\4&1e135148&0&uid777666"
        },
        {
            "name": "Generic PnP Monitor",
            "primary": false,
            "index": 1,
            "ignored": false,
            "geomMonitor": {
                "x": 2560,
                "y": 0,
                "width": 1920,
                "height": 1080
            },
            "geomWork": {
                "x": 2560,
                "y": 0,
                "width": 1920,
                "height": 1032
            },
            "deviceInstancePath": "display\\lgd0457\\4&1e135148&0&uid589652",
            "id": "display\\lgd0457\\4&1e135148&0&uid589652"
        }
    ],
    "currentMonitor": 0,
    "method": "event"
}

Parameter description:

  • name — Monitor name

  • primary — Flag showing the priority of a monitor

  • deviceInstancePath - unique monitor identifier in the system Deprecated

  • id - unique monitor identifier in the system

  • geomMonitor — Geometry of a monitor

  • geomWork — Geometry of a monitor work area

  • x — screen x-coordinate in the virtual geometry

  • y — screen y-coordinate in the virtual geometry

  • width — the screen width specified in pixels

  • height — screen height specified in pixels

  • index — Monitor index

  • currentMonitor - the index of the monitor where the window is located TrueConf Room API

  • ignored - a flag indicating whether this screen has been added to the ignored list using the command line parameter --ignore_monitor at startup. TrueConf Room API

See also: