Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Server.InputEventsCallback

class Server.InputEventsCallback

Callback for handling input events.

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

Nested classes

Constructor summary

Modifier and Type Method and Description

Server.InputEventsCallback(Server.InputEventsCallback.PointerEventCallbackType pointerEventCallback = null, Server.InputEventsCallback.KeyEventCallbackType keyEventCallback = null)

Initializes a new InputEventsCallback class instance.

Method summary

Modifier and Type Method and Description
Boolean

Server.InputEventsCallback.OnPointerEventCallback(Server server, Int32 x, Int32 y, Int32 buttonMask, Boolean isRelative)

Handles the PointerEventCallback event. By default, calls the Server.InputEventsCallback.PointerEventCallback delegate.

Boolean

Server.InputEventsCallback.OnKeyEventCallback(Server server, Int32 key, Boolean down)

Handles the KeyEventCallback event. By default, calls the Server.InputEventsCallback.KeyEventCallback delegate.

Constructors

Server.InputEventsCallback (Server.InputEventsCallback.PointerEventCallbackType pointerEventCallback = null, Server.InputEventsCallback.KeyEventCallbackType keyEventCallback = null)

Initializes a new InputEventsCallback class instance.

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

Methods

Boolean Server.InputEventsCallback.OnPointerEventCallback (Server server, Int32 x, Int32 y, Int32 buttonMask, Boolean isRelative)

Handles the PointerEventCallback event. By default, calls the Server.InputEventsCallback.PointerEventCallback delegate.

Boolean Server.InputEventsCallback.OnKeyEventCallback (Server server, Int32 key, Boolean down)

Handles the KeyEventCallback event. By default, calls the Server.InputEventsCallback.KeyEventCallback delegate.

Fields

Server.InputEventsCallback.PointerEventCallback

Handle pointer events manually.

For more information, see vnc_Server_InputEventsCallback::pointerEventCallback in the C API documentation.

Server.InputEventsCallback.KeyEventCallback

Handle keypress events manually.

For more information, see vnc_Server_InputEventsCallback::keyEventCallback in the C API documentation.

×