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, Viewer.FramebufferCallback.ViewerFbUpdatedType)

Initializes a new FramebufferCallback class instance.

Method summary

Modifier and Type Method and Description
void

Viewer.FramebufferCallback.OnServerFbSizeChanged(Viewer, Int32, Int32)

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

void

Viewer.FramebufferCallback.OnViewerFbUpdated(Viewer, Int32, Int32, Int32, Int32)

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

Constructors

Viewer.FramebufferCallback (Viewer.FramebufferCallback.ServerFbSizeChangedType a, Viewer.FramebufferCallback.ViewerFbUpdatedType b)

Initializes a new FramebufferCallback class instance.

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

Methods

void Viewer.FramebufferCallback.OnServerFbSizeChanged (Viewer a, Int32 b, Int32 c)

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

void Viewer.FramebufferCallback.OnViewerFbUpdated (Viewer a, Int32 b, Int32 c, Int32 d, Int32 e)

Handles the ViewerFbUpdated event. By default, calls the 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.

×