ViewCreator

Methods

(static) CreateAudioPlayerView() → {void}

Play Audio

Source:

(static) CreateVideoPlayerView() → {void}

Play Video

Source:

(static) availSubtitleTrackIdx(tracknameToFind) → {integer}

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:

(static) onPlaybackInfoLoaded() → {void}

The playback info task has returned data

Source:

(static) onSelectPlaybackInfoPressed() → {void}

User requested playback info

Source:

(static) onSelectSubtitlePressed() → {void}

User requested subtitle selection popup

Source:

(static) onSelectionMade() → {void}

User has selected something from the radioDialog popup

Source:

(static) onStateChange() → {void}

Playback state change event handlers

Source:

(static) processSubtitleSelection() → {void}

Source: