@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
Name | Type |
---|---|
callback | TelepresenceSignalCallback |
Returns
Promise
<void
>
Defined in
language/Language.ts:265 (opens in a new tab)
sendBroadcast
▸ sendBroadcast(payload
): Promise
<object
>
Parameters
Name | Type |
---|---|
payload | PerspectiveExpression |
Returns
Promise
<object
>
Defined in
language/Language.ts:264 (opens in a new tab)
sendSignal
▸ sendSignal(remoteAgentDid
, payload
): Promise
<object
>
Parameters
Name | Type |
---|---|
remoteAgentDid | string |
payload | PerspectiveExpression |
Returns
Promise
<object
>
Defined in
language/Language.ts:263 (opens in a new tab)
setOnlineStatus
▸ setOnlineStatus(status
): Promise
<void
>
Parameters
Name | Type |
---|---|
status | PerspectiveExpression |
Returns
Promise
<void
>