Learn how to evaluate and integrate the VNC SDK
Viewer.ServerEventCallback¶
-
class Viewer.ServerEventCallback¶ Callback receiving server event notifications for a Viewer.
For more information, see
vnc_Viewer_ServerEventCallbackin the C API documentation.
Nested classes¶
- Viewer.ServerEventCallback.ServerClipboardTextChangedType
- Viewer.ServerEventCallback.ServerFriendlyNameChangedType
Constructor summary
| Modifier and Type | Method and Description |
|---|---|
Initializes a new ServerEventCallback class instance. |
Method summary
| Modifier and Type | Method and Description |
|---|---|
void |
Handles the ServerClipboardTextChanged event.
By default, calls the |
void |
Handles the ServerFriendlyNameChanged event.
By default, calls the |
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.ServerClipboardTextChangeddelegate.
-
void
Viewer.ServerEventCallback.OnServerFriendlyNameChanged(Viewer viewer, String name)¶ Handles the ServerFriendlyNameChanged event. By default, calls the
Viewer.ServerEventCallback.ServerFriendlyNameChangeddelegate.
Fields¶
-
Viewer.ServerEventCallback.ServerClipboardTextChanged¶ Notification that the server’s clipboard contains new text.
For more information, see
vnc_Viewer_ServerEventCallback::serverClipboardTextChangedin the C API documentation.
-
Viewer.ServerEventCallback.ServerFriendlyNameChanged¶ Notification that the server’s friendly name has changed.
For more information, see
vnc_Viewer_ServerEventCallback::serverFriendlyNameChangedin the C API documentation.