Methods
(static) inactiveCheck() → {void}
inactiveCheck: Checks if the time since last keypress is greater than or equal to the allowed inactive time of the pause menu.
Returns:
- Type:
- void
(static) init() → {void}
Returns:
- Type:
- void
(static) onButtonSelected() → {void}
onButtonSelected: Handler for selection of buttons from the pause menu.
Returns:
- Type:
- void
(static) onFocusChanged() → {void}
onFocusChanged: Handler for changes to the focus of this pause menu.
Returns:
- Type:
- void
(static) onItemTitleTextChanged() → {void}
onItemTitleTextChanged: Handler for changes to m.top.itemTitleText param.
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) onPlaybackStateChanged() → {void}
onPlaybackStateChanged: Handler for changes to m.top.playbackState param
Returns:
- Type:
- void
(static) onVisibleChanged() → {void}
onVisibleChanged: Handler for changes to the visibility of this pause menu.
Returns:
- Type:
- void
(static) resetFocusToDefaultButton() → {void}
resetFocusToDefaultButton: Reset focus back to the default button
Returns:
- Type:
- void