Learn how to evaluate and integrate the VNC SDK
Viewer.ConnectionCallback¶
-
vncsdk.Viewer.
ConnectionCallback
¶ Callback receiving state-change notifications for a Viewer.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Notification that is called when the viewer begins a connection attempt to the server. |
|
Notification that is called when the viewer disconnects from the server. |
|
Notification that is called when the viewer successfully connects to a server (after authentication). |
Methods¶
-
Viewer.ConnectionCallback.
connecting
(viewer)¶ Notification that is called when the viewer begins a connection attempt to the server.
For more information, see
vnc_Viewer_ConnectionCallback::connecting
.Arguments: - viewer (
vncsdk.Viewer
) –
Returns: Ignored
- viewer (
-
Viewer.ConnectionCallback.
disconnected
(viewer, reason, flags)¶ Notification that is called when the viewer disconnects from the server.
For more information, see
vnc_Viewer_ConnectionCallback::disconnected
.Arguments: - viewer (
vncsdk.Viewer
) – - reason (string or null) –
- flags (Set<
vncsdk.Viewer.DisconnectFlags
>) –
Returns: Ignored
- viewer (
-
Viewer.ConnectionCallback.
connected
(viewer)¶ Notification that is called when the viewer successfully connects to a server (after authentication).
For more information, see
vnc_Viewer_ConnectionCallback::connected
.Arguments: - viewer (
vncsdk.Viewer
) –
Returns: Ignored
- viewer (