UIController Scope
Scope for the contents of a UIController.
Properties
Link copied to clipboard
The player hosted in this UIController.
Functions
Link copied to clipboard
A Menu to change the spoken language of the stream.
Link copied to clipboard
Close the currently open menu.
Link copied to clipboard
A Menu to change the spoken language and subtitles of the stream.
Link copied to clipboard
fun MenuScope.LanguageMenuButton(modifier: Modifier = Modifier, contentPadding: PaddingValues = PaddingValues(0.dp), content: @Composable () -> Unit = {
Icon(
painter = painterResource(id = R.drawable.language),
contentDescription = "Language"
)
})
A button that opens the language menu.
Link copied to clipboard
The compact menu contents of the LanguageMenu.
Link copied to clipboard
The expanded menu contents of the LanguageMenu.
Link copied to clipboard
fun MenuScope.Menu(modifier: Modifier = Modifier, title: @Composable () -> Unit, backIcon: @Composable () -> Unit = {
Icon(
Icons.AutoMirrored.Rounded.ArrowBack,
contentDescription = "Back"
)
}, content: @Composable () -> Unit)
A menu that can be opened on top of the player.
Link copied to clipboard
Open a new submenu.
Link copied to clipboard
A Menu to change the playback rate of the player.
Link copied to clipboard
A Menu to change the video quality of the stream.
Link copied to clipboard
A Menu to change the settings of the player, such as the video quality or the playback rate.
Link copied to clipboard
fun MenuScope.SettingsMenuButton(modifier: Modifier = Modifier, contentPadding: PaddingValues = PaddingValues(0.dp), content: @Composable () -> Unit = {
Icon(
Icons.Rounded.Settings,
contentDescription = "Settings"
)
})
A button that opens the settings menu.
Link copied to clipboard
A Menu to change the subtitles of the stream.