Learn how to evaluate and integrate the VNC SDK
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 |
---|---|
Initializes a new FramebufferCallback class instance. |
Method summary
Modifier and Type | Method and Description |
---|---|
void |
Handles the ServerFbSizeChanged event.
By default, calls the |
void |
Handles the ViewerFbUpdated event.
By default, calls the |
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.
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.