LanguageMenu
A menu to change the spoken language and subtitles of the stream.
fun MenuScope.LanguageMenu(audioTrackState: AudioTrackState, subtitleTrackState: SubtitleTrackState)(source)
A menu to change the spoken language and subtitles of the stream.
Remember the states inside the openMenu block that opens this menu, see MenuScope.openMenu.
Parameters
audioTrackState
the AudioTrackState to read
subtitleTrackState
the SubtitleTrackState to read