Seed Bible extension API (v1.18.0) / seed-bible/extensions / Unexported types / SandboxState
Interface: SandboxState
App state the host keeps every frame up to date with.
Properties
direction
direction: "ltr" | "rtl";fontStylesheets
fontStylesheets: string[];Font stylesheets to load, so text matches the app.
identity
identity: string | null;An id for the signed-in user that's the same every time for this extension, but different for every extension and not the user's real id, so an extension can keep per-user data without learning who the user is. Null when signed out.
isMobile
isMobile: boolean;language
language: string;playback
playback: SandboxPlayback | null;What this extension is playing through the app's player. Null when nothing is, and always null without audio:playback.
position
position: SandboxReadingPosition | null;Null unless reading:position is granted.
selection
selection: SandboxSelectedVerse[];Empty unless reading:selection is granted.
session
session: SandboxSharedSession | null;The shared reading session open in the current tab. Null when there isn't one, and always null unless session:read is granted.
strings
strings: Record<string, string>;This extension's own translation strings for language, over en.
themeCss
themeCss: string;--sb-* CSS declarations: the shared size scale, then the active theme.