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:
Value | Type | Description |
---|---|---|
deckKey | String | Set by server |
deckTitle | String | Set by server |
deckVersion | Number | Deck 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;