Skip to main content

Bridge.Status

.getDeckInfo()

Returns information on the deck's key, title and version. Useful when implementing logic shared across multiple decks that can toggle based on the key, as well as troubleshooting content in the wild.

Bridge.Status.getDeckInfo();

Returns:

ValueTypeDescription
deckKeyStringSet by server
deckTitleStringSet by server
deckVersionNumberDeck version on the server

Example:

{
deckKey: 'business-review',
deckTitle: 'Business Review',
deckVersion: 42
}

.isOnline

Boolean value indicating the preso's current internet connection status.

let isOffline = !Bridge.Status.isOnline;