Skip to content

Interface: RemoteViewProps

Defined in: client/view.tsx:29

Properties

expose?

optional expose?: (surface, video) => void

Defined in: client/view.tsx:51

Hand the composer the view's live seams once mounted: the plane's content box (what ClientSession.surface must report) and the video element (where the host's track lands).

Parameters

surface

() => object

video

() => HTMLVideoElement | undefined

Returns

void


hostPlane?

optional hostPlane?: () => Surface | undefined

Defined in: client/view.tsx:39

The host's plane, as the last videoStatus reported it (HUD telemetry).

Returns

Surface | undefined


linkStats

linkStats: () => LinkStats | undefined

Defined in: client/view.tsx:37

The link's measured delays, for the D3 fade window (undefined until known).

Returns

LinkStats | undefined


navigation: () => boolean

Defined in: client/view.tsx:35

Whether two-finger gestures emit scroll/zoom intents (presentation).

Returns

boolean


onActivity?

optional onActivity?: (activity) => void

Defined in: client/view.tsx:45

The pen's live activity, once bound — the chrome guard reads it.

Parameters

activity

PenActivity

Returns

void


onPenMode?

optional onPenMode?: () => void

Defined in: client/view.tsx:43

The first pen event was seen (the ✍️ chip + finger policy latch).

Returns

void


params

params: () => PencilParams

Defined in: client/view.tsx:33

The preview stroke's params (preset merged with any user overrides).

Returns

PencilParams


session

session: ClientSession

Defined in: client/view.tsx:30


tool

tool: () => Tool

Defined in: client/view.tsx:31

Returns

Tool


videoNote

videoNote: string

Defined in: client/view.tsx:41


videoUp

videoUp: boolean

Defined in: client/view.tsx:40