Learn how to evaluate and integrate the VNC SDK
Viewer.FramebufferCallback¶
-
vncsdk.Viewer.
FramebufferCallback
¶ Callback receiving framebuffer event notifications for a Viewer.
Method Summary¶
Modifier and Type | Method and Description |
---|---|
Notification that the given rectangle of the viewer’s framebuffer has been updated with new pixel data. |
|
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 (
-
Viewer.FramebufferCallback.
serverFbSizeChanged
(viewer, w, h)¶ Notification that the server’s framebuffer size has changed.
For more information, see
vnc_Viewer_FramebufferCallback::serverFbSizeChanged
.Arguments: - viewer (
vncsdk.Viewer
) – - w (number) –
- h (number) –
Returns: Ignored
- viewer (