API Reference
interfaces
Telepresenceadapter

@perspect3vism/ad4m / Exports / TelepresenceAdapter

Interface: TelepresenceAdapter

Table of contents

Methods

Methods

getOnlineAgents

getOnlineAgents(): Promise<OnlineAgent[]>

Returns

Promise<OnlineAgent[]>

Defined in

language/Language.ts:261 (opens in a new tab)


registerSignalCallback

registerSignalCallback(callback): Promise<void>

Parameters

NameType
callbackTelepresenceSignalCallback

Returns

Promise<void>

Defined in

language/Language.ts:265 (opens in a new tab)


sendBroadcast

sendBroadcast(payload): Promise<object>

Parameters

NameType
payloadPerspectiveExpression

Returns

Promise<object>

Defined in

language/Language.ts:264 (opens in a new tab)


sendSignal

sendSignal(remoteAgentDid, payload): Promise<object>

Parameters

NameType
remoteAgentDidstring
payloadPerspectiveExpression

Returns

Promise<object>

Defined in

language/Language.ts:263 (opens in a new tab)


setOnlineStatus

setOnlineStatus(status): Promise<void>

Parameters

NameType
statusPerspectiveExpression

Returns

Promise<void>

Defined in

language/Language.ts:260 (opens in a new tab)