Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.ConnectionCallback

vncsdk.Viewer.ConnectionCallback

Callback receiving state-change notifications for a Viewer.

Method Summary

Modifier and Type Method and Description

connected(viewer)

Notification that is called when the viewer successfully connects to a server (after authentication).

connecting(viewer)

Notification that is called when the viewer begins a connection attempt to the server.

disconnected(viewer, reason, flags)

Notification that is called when the viewer disconnects from the server.

Methods

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.

Parameters:viewer (vncsdk.Viewer) –
Returns:None
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.

Parameters:viewer (vncsdk.Viewer) –
Returns:None
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.

Parameters:
Returns:

None

×