Skip to content

Interface: RemotePresentation

Defined in: protocol.ts:187

How a host wants its remote client PRESENTED — the paved-road customization (owner, 2026-07-17). Declared on register, echoed in SessionInfo and joined; the shared client app renders from it. Absent fields default to fully-featured (the Lab's behavior). Presentation only: the host remains authoritative over what strokes it accepts.

Properties

accent?

optional accent?: string

Defined in: protocol.ts:191

Accent color hint (CSS) for the client's chrome.


clear?

optional clear?: boolean

Defined in: protocol.ts:198


color?

optional color?: boolean

Defined in: protocol.ts:202

Offer the brush color / size knobs (absent = true).


modes?

optional modes?: PencilMode[]

Defined in: protocol.ts:195

Which presets the strip offers (absent = all non-auto).


optional navigation?: boolean

Defined in: protocol.ts:200

Send two-finger scroll/zoom intents at all (absent = true).


size?

optional size?: boolean

Defined in: protocol.ts:203


strokeColor?

optional strokeColor?: string

Defined in: protocol.ts:212

The ink's FIXED color (CSS), for hosts whose remote is a markup surface with one brush (the intent client's red pencil). The client paints its local PREVIEW with it, so the stroke doesn't change color when the video echo replaces the preview (the D3 crossfade). Presentation only — the host still clamps what it accepts; declare the same color there. Ignored when the color knob is offered (a user override wins).


title?

optional title?: string

Defined in: protocol.ts:189

Heading the client shows for this session (falls back to the label).


tools?

optional tools?: Tool[]

Defined in: protocol.ts:193

Which tools the strip offers (absent = all).


undo?

optional undo?: boolean

Defined in: protocol.ts:197

Offer undo / clear (absent = true).