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