Learn how to evaluate and integrate the VNC SDK
Viewer.ServerEventCallback¶
-
vncsdk.Viewer.
ServerEventCallback
¶ Callback receiving server event notifications for a Viewer.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Notification that the server’s clipboard contains new text. |
|
Notification that the server’s friendly name has changed. |
Methods¶
-
Viewer.ServerEventCallback.
server_clipboard_text_changed
(viewer, text)¶ Notification that the server’s clipboard contains new text.
For more information, see
vnc_Viewer_ServerEventCallback::serverClipboardTextChanged
.Parameters: - viewer (
vncsdk.Viewer
) – - text (str or None) –
Returns: None
- viewer (
-
Viewer.ServerEventCallback.
server_friendly_name_changed
(viewer, name)¶ Notification that the server’s friendly name has changed.
For more information, see
vnc_Viewer_ServerEventCallback::serverFriendlyNameChanged
.Parameters: - viewer (
vncsdk.Viewer
) – - name (str or None) –
Returns: None
- viewer (