viewer library

Watch and control an app shared with package:remote_app_control.

Classes

DisplayListPlayer
Replays a recorded display list onto a canvas.
MemoryFontCache
PointerPhase
Phase of a pointer event sent by a viewer.
RemoteFontCache
Stores font files by their SHA-256 (lowercase hex) across sessions.
RemoteFrame
A frame: the app's logical size and the root of its chunk tree, whose chunks live in RemoteResources.chunks.
RemoteImage
An uploaded image. It may have been downscaled by the host, so source rectangles from frames are mapped by scaleX/scaleY.
RemoteKey
Keys a viewer can press on the remote app. Text is sent separately.
RemoteLog
A line of output or an error reported by the remote app.
RemoteLogView
A scrolling console of the remote app's logs and errors.
RemoteResources
Everything a session has sent besides frames: images, text styles and fonts, plus a cache of laid-out text runs.
RemoteScreen
Displays the remote app and forwards pointer and keyboard input to it.
RemoteViewerController
Connects to a shared app through the relay server and exposes its screen, logs and an input channel back to it.

Enums

RemoteViewerStatus
Connection state of a RemoteViewerController.