Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.ServerEventCallback

class Viewer.ServerEventCallback

Callback receiving server event notifications for a Viewer.

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

Nested classes

Constructor summary

Modifier and Type Method and Description

Viewer.ServerEventCallback(Viewer.ServerEventCallback.ServerClipboardTextChangedType serverClipboardTextChanged = null, Viewer.ServerEventCallback.ServerFriendlyNameChangedType serverFriendlyNameChanged = null)

Initializes a new ServerEventCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.ServerEventCallback.OnServerClipboardTextChanged(Viewer viewer, String text)

Handles the ServerClipboardTextChanged event. By default, calls the Viewer.ServerEventCallback.ServerClipboardTextChanged delegate.

void

Viewer.ServerEventCallback.OnServerFriendlyNameChanged(Viewer viewer, String name)

Handles the ServerFriendlyNameChanged event. By default, calls the Viewer.ServerEventCallback.ServerFriendlyNameChanged delegate.

Constructors

Viewer.ServerEventCallback (Viewer.ServerEventCallback.ServerClipboardTextChangedType serverClipboardTextChanged = null, Viewer.ServerEventCallback.ServerFriendlyNameChangedType serverFriendlyNameChanged = null)

Initializes a new ServerEventCallback class instance.

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

Methods

void Viewer.ServerEventCallback.OnServerClipboardTextChanged (Viewer viewer, String text)

Handles the ServerClipboardTextChanged event. By default, calls the Viewer.ServerEventCallback.ServerClipboardTextChanged delegate.

void Viewer.ServerEventCallback.OnServerFriendlyNameChanged (Viewer viewer, String name)

Handles the ServerFriendlyNameChanged event. By default, calls the Viewer.ServerEventCallback.ServerFriendlyNameChanged delegate.

Fields

Viewer.ServerEventCallback.ServerClipboardTextChanged

Notification that the server’s clipboard contains new text.

For more information, see vnc_Viewer_ServerEventCallback::serverClipboardTextChanged in the C API documentation.

Viewer.ServerEventCallback.ServerFriendlyNameChanged

Notification that the server’s friendly name has changed.

For more information, see vnc_Viewer_ServerEventCallback::serverFriendlyNameChanged in the C API documentation.

×