Module: ViewCreator

Methods


<static> CreateAudioPlayerView()

Play Audio

Source:
Returns:
Type
void

<static> CreateVideoPlayerView()

Play Video

Source:
Returns:
Type
void

<static> availSubtitleTrackIdx(tracknameToFind)

Roku translates the info provided in subtitleTracks into availableSubtitleTracks
Including ignoring tracks, if they are not understood, thus making indexing unpredictable.
This function translates between our internel selected subtitle index
and the corresponding index in availableSubtitleTracks.

Parameters:
Name Type Description
tracknameToFind string
Source:
Returns:
Type
integer

<static> onPlaybackInfoLoaded()

The playback info task has returned data

Source:
Returns:
Type
void

<static> onSelectPlaybackInfoPressed()

User requested playback info

Source:
Returns:
Type
void

<static> onSelectSubtitlePressed()

User requested subtitle selection popup

Source:
Returns:
Type
void

<static> onSelectionMade()

User has selected something from the radioDialog popup

Source:
Returns:
Type
void

<static> onStateChange()

Playback state change event handlers

Source:
Returns:
Type
void

<static> processSubtitleSelection()

Source:
Returns:
Type
void