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 server’s framebuffer size has changed. |
|
Notification that the given rectangle of the viewer’s framebuffer has been updated with new pixel data. |
Methods¶
-
Viewer.FramebufferCallback.
server_fb_size_changed
(viewer, w, h)¶ Notification that the server’s framebuffer size has changed.
For more information, see
vnc_Viewer_FramebufferCallback::serverFbSizeChanged
.Parameters: - viewer (
vncsdk.Viewer
) – - w (int) –
- h (int) –
Returns: None
- viewer (
-
Viewer.FramebufferCallback.
viewer_fb_updated
(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
.Parameters: - viewer (
vncsdk.Viewer
) – - x (int) –
- y (int) –
- w (int) –
- h (int) –
Returns: None
- viewer (