Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

Viewer.FramebufferCallback

vncsdk.Viewer.FramebufferCallback

Callback receiving framebuffer event notifications for a Viewer.

Method Summary

Modifier and Type Method and Description

viewerFbUpdated(viewer, x, y, w, h)

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

serverFbSizeChanged(viewer, w, h)

Notification that the server’s framebuffer size has changed.

Methods

Viewer.FramebufferCallback.viewerFbUpdated(viewer, x, y, w, h)

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.

Arguments:
  • viewer (vncsdk.Viewer) –
  • x (number) –
  • y (number) –
  • w (number) –
  • h (number) –
Returns:

Ignored

Viewer.FramebufferCallback.serverFbSizeChanged(viewer, w, h)

Notification that the server’s framebuffer size has changed.

For more information, see vnc_Viewer_FramebufferCallback::serverFbSizeChanged.

Arguments:
Returns:

Ignored

×