Pitcher JavaScript Platform Pitcher JavaScript Platform
Core
Pitcherify
i18n
Guides
Contributing
Github (opens new window)
Core
Pitcherify
i18n
Guides
Contributing
Github (opens new window)
  • Introduction
  • Config Store
  • Accounts Contacts Store
  • Database Actions
  • Events and Ti.App

    • fireEvent()
    • Ti.App All Events
    • Basic Events
    • Salesforce Events
    • Slideshow Events
    • Translation Events
    • Application Events
    • Split View Navigation Events
    • Split View Navigation (Portrait) Events
    • BJ Listener Events
    • BJ Sender Events
    • Translator Events
    • Call Planning Events
    • Google Maps Events
    • Login Events
    • Microsoft Events
    • Oracle Events
    • SAP Events
    • PDF Sender Events
    • Secure Area Events
    • Playlist Events
      • Ti.App.fireEvent('loadPlaylist')
      • Ti.App.fireEvent('loadNextInPlaylist')
    • Planning Events
    • Planning MSD Events
    • Presentation Order Events
    • Tester Events
    • Start Application Events
    • Stats Events
    • Notes
  • Files
  • Handling Instance
  • State management
  • Utils

# Playlist Events

These events are in playlist.js file.

# Ti.App.fireEvent('loadPlaylist')

Opens playlist. Fires loadNextInPlaylist event before exiting.

Example:

Ti.App.fireEvent('loadPlaylist', {
  files: [file0, file1, ...],
  shouldLoop: true
})
  • files - file list to be placed in playlist
  • shouldLoop - should playlist loop after finished?

# Ti.App.fireEvent('loadNextInPlaylist')

Loads next in playlist by firing goToLink event.

Example:

Ti.App.fireEvent('loadNextInPlaylist', {})

← Secure Area Events Planning Events →