ReadonlycloudRequires Feature: box-cloud-ai
Namespace to access the Cloud-AI functionality, which talks to the server
the host gives in its cloud_ai connection info.
ReadonlycustomThe params that were passed (custom_params) when starting the applet.
ReadonlyedgeRequires Feature: box-edge-ai
Namespace to access the Edge-AI functionality.
ReadonlygetRequires Feature: box-token
Returns the box authentication token
ReadonlygetRequires Feature: box-headless
Query the current update display behaviour for this applet.
ReadonlygetRequires Feature: headless
Query the box applet's current visibility.
ReadonlygetRequires Feature: box-identify-clients
Query the client IDs of the client applets currently connected to this
box applet. Listen for vivi:client-connected and
vivi:client-disconnected to follow changes.
ReadonlygetRequires Feature: display-state
Query what the box is currently displaying in detail.
ReadonlygetRequires Feature: display-status
Query what the box is currently displaying.
ReadonlygetRequires Feature: box-room-code-visibility
Query whether the room code is currently shown on the box display.
ReadonlygetRequires Feature: box-get-video-announcement-active
Query whether a video announcement is currently playing on the box.
ReadonlygetRequires Feature: get-vivi-interactive
Query whether Vivi Interactive is enabled for this room.
ReadonlyhideRequires Feature: box-timer-controls
Hide the timer overlay on the display without stopping the countdown. Box-authored, like stopTimer.
Readonlyistrue for BoxApplet
Readonlyisfalse for BoxApplet
ReadonlysendRequires Feature: box-backend-notifications
Send a notification to a client through the Vivi backend, so it reaches
the client's device even when it has left the room. The client applet
receives it as a vivi:client-backend-notification event, and should
acknowledge it with ClientApplet.acknowledgeBackendNotification.
The box host queues the notification and retries delivery to the backend
for up to a day, so a true result means it was queued, not delivered.
ReadonlysendRequires Feature: box-events
Send an event associated with the box
ReadonlysendRequires Feature: box-logs
Forwards applet logs to the box so they appear in the box's own logs.
That log is shared with the whole receiver and is what a support bundle is built from, so forward only what earns the space: errors, and the lower-level lines that actually explain a failure — the warnings a connectivity problem produces, for instance. Routine progress logging does not belong here. Batch on a short interval rather than sending an entry at a time.
ReadonlysetRequires Feature: box-headless
Set what the box should do when an the box triggers update_display (stream start, stream pause, play content seek, etc.).
'hide' will hide the applet (default), 'stay' will keep it visible.
ReadonlysetRequires Feature: headless
Set the box applet's visibility.
ReadonlysetRequires Feature: box-captions
Sets the captions on the box, which appear over all other content. Can also be used to clear the captions by passing an empty array.
ReadonlysetRequires Feature: box-captions-text-scaling
Sets the text size of the captions on the box.
ReadonlystopRequires Feature: stop-box-applet
Request the system to stop this applet.
ReadonlystopRequires Feature: box-play-content-control
Request the box to stop the active play-content display.
ReadonlystopRequires Feature: box-screen-share-control
Request the box to stop the active screen share
ReadonlystopRequires Feature: box-timer-controls
Stop and clear the share screen timer on the display. Box-authored: the box is the timer's source of truth, so this succeeds regardless of which client session started the timer (use when the share the timer belonged to has ended, e.g. an ownership takeover).
Properties exposed specifically for debugging purposes only
The contents, structure and existence of _debug are not stable, backwards-compatible or guaranteed. Do not use for business logic.
ProtectedsenderThe sender sent with each message to other applet instances.
Add a listener for any incoming messages sent from other applet instances.
The message will be of type Msg that the user defines. (eg: Applet<Msg>)
A callback to remove the listener
Send an message of type Msg to other applet instances.
Will reject if the message was not successfully sent.
The message to be sent
An instance of BoxApplet, methods and attributes affect and refer to an applet running on the Vivi Receiver.
Do not directly instantiate, instead use newApplet or newBoxApplet.