Learn how to evaluate and integrate the VNC SDK
EventLoop¶
-
class EventLoop
¶ A container for static methods.
For more information, see
vnc_EventLoop
in the C API documentation.
Method summary
Modifier and Type | Method and Description |
---|---|
static void |
Runs the event loop until EventLoop.stop() is called. |
static void |
Stops the event loop previously started with EventLoop.run(), causing EventLoop.run() to return promptly. |
static Boolean |
Returns a boolean flag indicating whether the event loop should stop, and immediately clears it. |
static void |
Performs an action on the SDK thread, pausing the event loop for the duration of the action. |
Methods¶
-
static void
EventLoop.Run
()¶ Runs the event loop until EventLoop.stop() is called.
For more information, see
vnc_EventLoop_run()
in the C API documentation.
-
static void
EventLoop.Stop
()¶ Stops the event loop previously started with EventLoop.run(), causing EventLoop.run() to return promptly.
For more information, see
vnc_EventLoop_stop()
in the C API documentation.
-
static Boolean
EventLoop.ShouldStop
()¶ Returns a boolean flag indicating whether the event loop should stop, and immediately clears it.
For more information, see
vnc_EventLoop_shouldStop()
in the C API documentation.