Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

DisplayManager

class DisplayManager

Manages the list of displays made available by a Server.

For more information, see vnc_DisplayManager in the C API documentation.

Nested classes

Method summary

Modifier and Type Method and Description
Int32

DisplayManager.GetDisplayCount()

Returns the number of displays.

void

DisplayManager.SetCallback(DisplayManager.Callback)

Registers a callback notifying when displays are added or removed, or the resolution of an existing display changes.

void

DisplayManager.SelectDisplay(Int32)

Chooses a particular display to remote to connected Viewer app users.

String

DisplayManager.GetId(Int32)

Gets the ID of the display (typically a short string).

String

DisplayManager.GetName(Int32)

Gets the name of the display (typically a human-readable string).

Boolean

DisplayManager.IsPrimary(Int32)

Returns whether this is the primary (or main) display.

Int32

DisplayManager.GetResolutionX(Int32)

Gets the horizontal resolution of the display in pixels.

Int32

DisplayManager.GetResolutionY(Int32)

Gets the vertical resolution of the display in pixels.

Int32

DisplayManager.GetOriginX(Int32)

Gets the horizontal origin of the display in pixels.

Int32

DisplayManager.GetOriginY(Int32)

Gets the vertical origin of the display in pixels.

Methods

Int32 DisplayManager.GetDisplayCount ()

Returns the number of displays.

For more information, see vnc_DisplayManager_getDisplayCount() in the C API documentation.

void DisplayManager.SetCallback (DisplayManager.Callback a)

Registers a callback notifying when displays are added or removed, or the resolution of an existing display changes.

For more information, see vnc_DisplayManager_setCallback() in the C API documentation.

void DisplayManager.SelectDisplay (Int32 a)

Chooses a particular display to remote to connected Viewer app users.

For more information, see vnc_DisplayManager_selectDisplay() in the C API documentation.

String DisplayManager.GetId (Int32 a)

Gets the ID of the display (typically a short string).

For more information, see vnc_DisplayManager_getId() in the C API documentation.

String DisplayManager.GetName (Int32 a)

Gets the name of the display (typically a human-readable string).

For more information, see vnc_DisplayManager_getName() in the C API documentation.

Boolean DisplayManager.IsPrimary (Int32 a)

Returns whether this is the primary (or main) display.

For more information, see vnc_DisplayManager_isPrimary() in the C API documentation.

Int32 DisplayManager.GetResolutionX (Int32 a)

Gets the horizontal resolution of the display in pixels.

For more information, see vnc_DisplayManager_getResolutionX() in the C API documentation.

Int32 DisplayManager.GetResolutionY (Int32 a)

Gets the vertical resolution of the display in pixels.

For more information, see vnc_DisplayManager_getResolutionY() in the C API documentation.

Int32 DisplayManager.GetOriginX (Int32 a)

Gets the horizontal origin of the display in pixels.

For more information, see vnc_DisplayManager_getOriginX() in the C API documentation.

Int32 DisplayManager.GetOriginY (Int32 a)

Gets the vertical origin of the display in pixels.

For more information, see vnc_DisplayManager_getOriginY() in the C API documentation.

×