- Implementations:
- Extends:
- Source:
Extends
Methods
configure(config)
    Called by the Player to provide an updated configuration any time it
changes.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| config | shaka.extern.QueueConfiguration | 
- Source:
destroy() → {Promise}
- Overrides:
- Source:
Returns:
- Type
- Promise
getConfiguration() → {shaka.extern.QueueConfiguration}
    Returns the current configuration.
- Source:
Returns:
getCurrentItemIndex() → {number}
    Returns the index of the current playing item.
- Source:
Returns:
- Type
- number
getItems() → {Array<shaka.extern.QueueItem>}
    Returns all items.
- Source:
Returns:
- Type
- Array<shaka.extern.QueueItem>
insertItems(itemsnon-null)
    Insert new items in the current queue.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| items | Array<shaka.extern.QueueItem> | 
- Source:
playItem(itemIndex) → {Promise}
    Plays a item number in the queue.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| itemIndex | number | 
- Source:
Returns:
- Type
- Promise
removeAllItems() → {Promise}
    Remove all items.
- Source:
Returns:
- Type
- Promise
Type Definitions
Factory
    A factory for creating the queue manager.
    Type:
- function(shaka.Player): !shaka.extern.IQueueManager
- Source: