Methods
(static) clearPreviousScene() → {void}
Clear previous scene from group stack
- Type:
- void
(static) clearScenes() → {void}
Clear all content from group stack
- Type:
- void
(static) deleteSceneAtIndex(indexopt) → {void}
Delete scene from group stack at passed index
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
index | dynamic | <optional> | 1 |
- Type:
- void
(static) dismissDialog() → {void}
Close currently displayed dialog
- Type:
- void
(static) getActiveScene() → {object}
Return group at top of stack without removing
- Type:
- object
(static) init() → {void}
- Type:
- void
(static) isDialogOpen() → {boolean}
Returns bool indicating if dialog is currently displayed
- Type:
- boolean
(static) optionClosed() → {void}
Return button the user selected
- Type:
- void
(static) optionDialog(title, message, buttons) → {void}
Display dialog to user with an OK button
Name | Type | Description |
---|---|---|
title | dynamic | |
message | dynamic | |
buttons | dynamic |
- Type:
- void
(static) optionSelected() → {void}
Return button the user selected
- Type:
- void
(static) popScene() → {void}
Remove the current group and load the last group from the stack
- Type:
- void
(static) pushScene(newGroup) → {void}
Push a new group onto the stack, replacing the existing group on the screen
Name | Type | Description |
---|---|---|
newGroup | dynamic |
- Type:
- void
(static) radioDialog(title, message) → {void}
Display dialog to user with an OK button
Name | Type | Description |
---|---|---|
title | dynamic | |
message | dynamic |
- Type:
- void
(static) registerOverhangData(group) → {void}
Register observers for overhang data
Name | Type | Description |
---|---|---|
group | dynamic |
- Type:
- void
(static) resetTime() → {void}
Reset time
- Type:
- void
(static) settings() → {void}
Display user/device settings screen
- Type:
- void
(static) standardDialog(title, message) → {void}
Display dialog to user with an OK button
Name | Type | Description |
---|---|---|
title | dynamic | |
message | dynamic |
- Type:
- void
(static) unregisterOverhangData(group) → {void}
Remove observers for overhang data
Name | Type | Description |
---|---|---|
group | dynamic |
- Type:
- void
(static) updateOptions(msg) → {void}
Update options availability
Name | Type | Description |
---|---|---|
msg | dynamic |
- Type:
- void
(static) updateOverhangTitle(msg) → {void}
Update overhang title
Name | Type | Description |
---|---|---|
msg | dynamic |
- Type:
- void
(static) updateOverhangVisible(msg) → {void}
Update whether the overhang is visible or not
Name | Type | Description |
---|---|---|
msg | dynamic |
- Type:
- void
(static) updateUser() → {void}
Update username in overhang
- Type:
- void
(static) userMessage(title, message) → {void}
Display dialog to user with an OK button
Name | Type | Description |
---|---|---|
title | string | |
message | string |
- Type:
- void