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, Viewer.ServerEventCallback.ServerFriendlyNameChangedType)

Initializes a new ServerEventCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.ServerEventCallback.OnServerClipboardTextChanged(Viewer, String)

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

void

Viewer.ServerEventCallback.OnServerFriendlyNameChanged(Viewer, String)

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

Constructors

Viewer.ServerEventCallback (Viewer.ServerEventCallback.ServerClipboardTextChangedType a, Viewer.ServerEventCallback.ServerFriendlyNameChangedType b)

Initializes a new ServerEventCallback class instance.

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

Methods

void Viewer.ServerEventCallback.OnServerClipboardTextChanged (Viewer a, String b)

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

void Viewer.ServerEventCallback.OnServerFriendlyNameChanged (Viewer a, String b)

Handles the ServerFriendlyNameChanged event. By default, calls the 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.

×