SubtitleTrackList

fun SubtitleTrackList(modifier: Modifier = Modifier, onClick: () -> Unit? = null)(source)

A list of subtitle tracks, from which the user can choose an active subtitle track.

Parameters

modifier

the Modifier to be applied to this list

onClick

called when a subtitle track in the list is clicked


fun SubtitleTrackList(state: SubtitleTrackState, modifier: Modifier = Modifier, onClick: () -> Unit? = null)(source)

A list of subtitle tracks, from which the user can choose an active subtitle track.

Parameters

state

the SubtitleTrackState to read and control

modifier

the Modifier to be applied to this list

onClick

called when a subtitle track in the list is clicked