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

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.

connected(viewer)

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:
Returns:

Ignored

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:
Returns:

Ignored

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:
Returns:

Ignored

×