AI-generated Key Takeaways
-
The GCKMediaQueueDelegate protocol is used for receiving asynchronous notifications from a GCKMediaQueue.
-
This protocol includes methods to notify when the queue is about to change, has been reloaded, or when items are inserted, updated, or removed.
-
The delegate methods provide information about the specific changes made to the queue, such as the range of inserted items or the indexes of updated or removed items.
-
The mediaQueueDidChange method is called after any queue changes have been completed.
Overview
The delegate protocol for receiving asynchronous notifications from a GCKMediaQueue.
- Since
- 4.3.4
Inherits <NSObjectNSObject>.
Instance Method Summary | |
(void) | - mediaQueueWillChange: |
Called when one or more changes are about to be made to the queue. More... | |
(void) | - mediaQueueDidReloadItems: |
Called when the queue has been entirely reloaded. More... | |
(void) | - mediaQueue:didInsertItemsInRange: |
Called when a contiguous range of queue items ahve been inserted into the queue. More... | |
(void) | - mediaQueue:didUpdateItemsAtIndexes: |
Called when one or more queue items have been updated in the queue. More... | |
(void) | - mediaQueue:didRemoveItemsAtIndexes: |
Called when one or more queue items have been removed from the queue. More... | |
(void) | - mediaQueueDidChange: |
Called after one or more queue changes have been made to the queue. More... | |
Method Detail
|
optional |
Called when one or more changes are about to be made to the queue.
- Parameters
-
queue The queue.
|
optional |
Called when the queue has been entirely reloaded.
Any previously accessed queue items should be considered invalid.
- Parameters
-
queue The queue.
|
optional |
Called when a contiguous range of queue items ahve been inserted into the queue.
- Parameters
-
queue The queue. range The range indicating the starting index and count of items inserted.
|
optional |
Called when one or more queue items have been updated in the queue.
This includes the case where previously accessed but unavailable items have been retrieved and placed in the cache, and the case where previously cached items have been flushed from the cache.
- Parameters
-
queue The queue. indexes The ordered list of indexes of the items that have been updated.
|
optional |
Called when one or more queue items have been removed from the queue.
- Parameters
-
queue The queue. indexes The ordered list of indexes of the items that have been removed.
|
optional |
Called after one or more queue changes have been made to the queue.