Methods
-
<static> LoadNextSong()
-
Returns:
- Type
- void
-
<static> OnScreenHidden()
-
Returns:
- Type
- void
-
<static> audioPositionChanged()
-
Returns:
- Type
- void
-
<static> audioStateChanged()
-
Returns:
- Type
- void
-
<static> bufferPositionChanged()
-
Returns:
- Type
- void
-
<static> endScreenSaver()
-
Returns:
- Type
- void
-
<static> findCurrentSongIndex(songList)
-
Parameters:
Name Type Description songList
dynamic Returns:
- Type
- integer
-
<static> init()
-
Returns:
- Type
- void
-
<static> loadButtons()
-
If we have more and 1 song to play, fade in the next and previous controls
Returns:
- Type
- void
-
<static> loopClicked()
-
Returns:
- Type
- boolean
-
<static> nextClicked()
-
Returns:
- Type
- boolean
-
<static> onAudioStreamLoaded()
-
Returns:
- Type
- void
-
<static> onBackdropImageLoaded()
-
Returns:
- Type
- void
-
<static> onButtonSelectedChange()
-
Event handler when user selected a different playback button
Returns:
- Type
- void
-
<static> onKeyEvent(key, press)
-
Process key press events
Parameters:
Name Type Description key
string press
boolean Returns:
- Type
- boolean
-
<static> onMetaDataLoaded()
-
Returns:
- Type
- void
-
<static> onScreensaverTimeoutLoaded()
-
Returns:
- Type
- void
-
<static> pageContentChanged()
-
Update values on screen when page content changes
Returns:
- Type
- void
-
<static> playAction()
-
Returns:
- Type
- boolean
-
<static> previousClicked()
-
Returns:
- Type
- boolean
-
<static> resetLoopModeToDefault()
-
Returns:
- Type
- void
-
<static> screenSaverActive()
-
Returns:
- Type
- boolean
-
<static> setBackdropImage(data)
-
Add backdrop image to screen
Parameters:
Name Type Description data
dynamic Returns:
- Type
- void
-
<static> setLoopButtonImage()
-
Returns:
- Type
- void
-
<static> setOnScreenTextValues(json)
-
Populate on screen text variables
Parameters:
Name Type Description json
dynamic Returns:
- Type
- void
-
<static> setPosterImage(posterURL)
-
Set poster image on screen
Parameters:
Name Type Description posterURL
dynamic Returns:
- Type
- void
-
<static> setScreenTitle(json)
-
Set screen's title text
Parameters:
Name Type Description json
dynamic Returns:
- Type
- void
-
<static> setShuffleIconState()
-
Returns:
- Type
- void
-
<static> setTrackNumberDisplay()
-
Returns:
- Type
- void
-
<static> setupAnimationTasks()
-
Returns:
- Type
- void
-
<static> setupAudioNode()
-
Creates audio node used to play song(s)
Returns:
- Type
- void
-
<static> setupButtons()
-
Setup playback buttons, default to Play button selected
Returns:
- Type
- void
-
<static> setupDataTasks()
-
Creates tasks to gather data needed to render Scene and play song
Returns:
- Type
- void
-
<static> setupInfoNodes()
-
Returns:
- Type
- void
-
<static> setupScreenSaver()
-
Returns:
- Type
- void
-
<static> shuffleClicked()
-
Returns:
- Type
- boolean
-
<static> startScreenSaver()
-
Returns:
- Type
- void
-
<static> toggleShuffleEnabled()
-
Returns:
- Type
- void