Methods
(static) CreateAudioPlayerView() → {void}
Play Audio
Returns:
- Type:
- void
(static) CreateVideoPlayerView() → {void}
Play Video
Returns:
- Type:
- void
(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 |
Returns:
- Type:
- integer
(static) onPlaybackInfoLoaded() → {void}
The playback info task has returned data
Returns:
- Type:
- void
(static) onSelectPlaybackInfoPressed() → {void}
User requested playback info
Returns:
- Type:
- void
(static) onSelectSubtitlePressed() → {void}
User requested subtitle selection popup
Returns:
- Type:
- void
(static) onSelectionMade() → {void}
User has selected something from the radioDialog popup
Returns:
- Type:
- void
(static) onStateChange() → {void}
Playback state change event handlers
Returns:
- Type:
- void
(static) processSubtitleSelection() → {void}
Returns:
- Type:
- void