Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.FramebufferCallback

class Viewer.FramebufferCallback

Callback receiving framebuffer event notifications for a Viewer.

For more information, see vnc_Viewer_FramebufferCallback in the C API documentation.

Nested classes

Constructor summary

Modifier and Type Method and Description

Viewer.FramebufferCallback(Viewer.FramebufferCallback.ServerFbSizeChangedType serverFbSizeChanged = null, Viewer.FramebufferCallback.ViewerFbUpdatedType viewerFbUpdated = null)

Initializes a new FramebufferCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.FramebufferCallback.OnServerFbSizeChanged(Viewer viewer, Int32 w, Int32 h)

Handles the ServerFbSizeChanged event. By default, calls the Viewer.FramebufferCallback.ServerFbSizeChanged delegate.

void

Viewer.FramebufferCallback.OnViewerFbUpdated(Viewer viewer, Int32 x, Int32 y, Int32 w, Int32 h)

Handles the ViewerFbUpdated event. By default, calls the Viewer.FramebufferCallback.ViewerFbUpdated delegate.

Constructors

Viewer.FramebufferCallback (Viewer.FramebufferCallback.ServerFbSizeChangedType serverFbSizeChanged = null, Viewer.FramebufferCallback.ViewerFbUpdatedType viewerFbUpdated = null)

Initializes a new FramebufferCallback class instance.

For more information, see vnc_Viewer_FramebufferCallback() in the C API documentation.

Methods

void Viewer.FramebufferCallback.OnServerFbSizeChanged (Viewer viewer, Int32 w, Int32 h)

Handles the ServerFbSizeChanged event. By default, calls the Viewer.FramebufferCallback.ServerFbSizeChanged delegate.

void Viewer.FramebufferCallback.OnViewerFbUpdated (Viewer viewer, Int32 x, Int32 y, Int32 w, Int32 h)

Handles the ViewerFbUpdated event. By default, calls the Viewer.FramebufferCallback.ViewerFbUpdated delegate.

Fields

Viewer.FramebufferCallback.ServerFbSizeChanged

Notification that the server’s framebuffer size has changed.

For more information, see vnc_Viewer_FramebufferCallback::serverFbSizeChanged in the C API documentation.

Viewer.FramebufferCallback.ViewerFbUpdated

Notification that the given rectangle of the viewer’s framebuffer has been updated with new pixel data.

For more information, see vnc_Viewer_FramebufferCallback::viewerFbUpdated in the C API documentation.

×