UIControllerScope

Scope for the contents of a UIController.

This interface is implemented by UIController; implementing it yourself is not supported.

Properties

Link copied to clipboard
abstract val player: Player

The player hosted in this UIController.

Link copied to clipboard
open val theoplayerView: THEOplayerView?

The THEOplayer view hosted in this UIController, or null in inspection mode.

Functions

Link copied to clipboard
abstract fun closeAllMenus()

Close all open menus, including the current menu and all menus below it.

Link copied to clipboard
abstract fun closeCurrentMenu()

Close the currently open menu, returning to the previous menu (if any).

Link copied to clipboard
abstract fun openMenu(menu: MenuContent)

Open a new submenu.