Live Annotation Renderer
Class responsible for rendering live annotations. It creates a floating annotation layer over the shared screen that allows drawing annotations in real-time.
Since
3.11.0
Parameters
The context in which the renderer is created.
Constructors
Types
Functions
Returns the annotation layer.
Renders the provided data on the live annotation layer.
Sets the callback for rendering events.
Starts the rendering of live annotations. It initializes the session and client if not already done and draws the annotation layer. And notifies when annotation layer is ready to take input for drawing. Give "Display over other apps" permission when prompted during start of screen share to start rendering, else it will fail.
Stops the rendering of live annotations. It resets the annotation layer, the client, and notifies the callback about the rendering stop.