FakeWorldTerminal extension
The terminal steps of the world: events and the state changes that end sessions.
- on
Methods
-
endTerminalSession(
FakeTerminalSession s, String reason) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
Endsswithreason: stateclosed, the event, and the open stream closed with4100and the reason (24 8.3, 10.3). -
grantHostAccess(
String userId, String hostId) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
userIdgot the capabilityterminalon hosthostId: the personalaccess.changedwith the host inadded(04 8.2). -
hostUpdated(
FakeHost h, {bool keyChanged = false}) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
Raises the version ofhand appendshost.updated(04 2.1);keyChangedafter a re-pairing (24 3.3). -
hostViewers(
FakeHost h) → Set< String> -
Available on FakeWorld, provided by the FakeWorldTerminal extension
The people who seeh(07 2.12): owners, the assignee and the holders of a valid grantterminalon it. -
revokeHostAccess(
String userId, String hostId) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
userIdlost the capabilityterminalon hosthostId(04 8.2, 24 8.3): the personalaccess.changedwith the host inremoved, and every open session of the person there ends withaccess_revoked. -
setHostConnected(
String hostId, {required bool connected}) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
Sets the connection of hosthostIdand publishes the ephemeralhost.presence_changedto the devices of everyone who sees the host. -
terminalSessionChanged(
FakeTerminalSession s) → void -
Available on FakeWorld, provided by the FakeWorldTerminal extension
Appends the personalterminal_session.changedofs(04 2.1, 24 10.2).