- Source:
Methods
-
<static> clear()
-
Clear all content from play queue
Returns:
- Type
- void
-
<static> clearHold()
-
Clear all hold content
Returns:
- Type
- void
-
<static> deleteAtIndex(index)
-
Delete item from play queue at passed index
Parameters:
Name Type Description index
dynamic Returns:
- Type
- void
-
<static> getCount()
-
Return the number of items in the play queue
Returns:
- Type
- dynamic
-
<static> getCurrentItem()
-
Return the item currently in focus from the play queue
Returns:
- Type
- dynamic
-
<static> getHold()
-
Return the items in the hold
Returns:
- Type
- dynamic
-
<static> getIsShuffled()
-
Return whether or not shuffle is enabled
Returns:
- Type
- dynamic
-
<static> getItemByIndex(index)
-
Return the item in the passed index from the play queue
Parameters:
Name Type Description index
dynamic Returns:
- Type
- dynamic
-
<static> getItemType(item)
-
Parameters:
Name Type Description item
dynamic Returns:
- Type
- string
-
<static> getPosition()
-
Returns current playback position within the queue
Returns:
- Type
- dynamic
-
<static> getQueue()
-
Return the current play queue
Returns:
- Type
- dynamic
-
<static> getQueueTypes()
-
Return the types of items in current play queue
Returns:
- Type
- dynamic
-
<static> getQueueUniqueTypes()
-
Return the unique types of items in current play queue
Returns:
- Type
- dynamic
-
<static> getUnshuffledQueue()
-
Return original, unshuffled queue
Returns:
- Type
- dynamic
-
<static> hold(newItem)
-
Hold an item
Parameters:
Name Type Description newItem
dynamic Returns:
- Type
- void
-
<static> init()
-
- Source:
Returns:
- Type
- void
-
<static> isPrerollActive()
-
Return isPrerollActive status
Returns:
- Type
- boolean
-
<static> moveBack()
-
Move queue position back one
Returns:
- Type
- void
-
<static> moveForward()
-
Move queue position ahead one
Returns:
- Type
- void
-
<static> peek()
-
Return item at end of play queue without removing
Returns:
- Type
- dynamic
-
<static> playQueue()
-
Play items in queue
Returns:
- Type
- void
-
<static> pop()
-
Remove item at end of play queue
Returns:
- Type
- void
-
<static> push(newItem)
-
Push new items to the play queue
Parameters:
Name Type Description newItem
dynamic Returns:
- Type
- void
-
<static> resetQueueItemOrder()
-
Reset queue items back to original, unshuffled order
Returns:
- Type
- void
-
<static> resetShuffle()
-
Reset shuffle to off state
Returns:
- Type
- void
-
<static> set(items)
-
Replace play queue with passed array
Parameters:
Name Type Description items
dynamic Returns:
- Type
- void
-
<static> setPosition(newPosition)
-
Set the queue position
Parameters:
Name Type Description newPosition
dynamic Returns:
- Type
- void
-
<static> setPrerollStatus(newStatus)
-
Set prerollActive status
Parameters:
Name Type Description newStatus
boolean Returns:
- Type
- void
-
<static> setTopStartingPoint(positionTicks)
-
Set starting point for top item in the queue
Parameters:
Name Type Description positionTicks
dynamic Returns:
- Type
- void
-
<static> shuffleQueueItems()
-
Save a copy of the original queue and randomize order of queue items
Returns:
- Type
- void
-
<static> toggleShuffle()
-
Toggle shuffleEnabled state
Returns:
- Type
- void
-
<static> top()
-
Return the fitst item in the play queue
Returns:
- Type
- dynamic