Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: DevtoolsBridge

@roomful/devtools


@roomful/devtools / DevtoolsBridge

Defined in: types.ts:314

Exposes the devtools bridge available to browser extensions and overlays.

version: number

Defined in: types.ts:349

Stores the bridge protocol version.

disconnectSimulatedPeer(instanceId): DevtoolsCommandResult

Defined in: types.ts:321

Disconnects an injected simulated peer.

string

The room instance to target.

DevtoolsCommandResult

The command result.


getSnapshot(instanceId): DevtoolsRoomSnapshot | null

Defined in: types.ts:329

Reads the latest room snapshot for an instance.

string

The room instance to target.

DevtoolsRoomSnapshot | null

The room snapshot, or null when unavailable.


injectSimulatedPeer(instanceId): DevtoolsCommandResult

Defined in: types.ts:337

Injects a simulated peer into a room instance.

string

The room instance to target.

DevtoolsCommandResult

The command result.


listRooms(): DevtoolsRoomSummary[]

Defined in: types.ts:344

Lists registered room summaries.

DevtoolsRoomSummary[]

The registered room summaries.