Page Summary
-
This category reference describes methods intended for use by GCKRemoteMediaClient subclasses.
-
Subclasses should call notifyDidStartMediaSession when a media session begins after media is loaded.
-
Subclasses should call notifyDidUpdateMediaStatus when the client's mediaStatus object changes.
-
Subclasses should use the various notify methods for updates to the media queue, preload status, metadata, and queue item IDs and items.
Overview
Methods to be called by GCKRemoteMediaClient subclasses only.
- Since
- 3.3
Instance Method Summary | |
| (void) | - notifyDidStartMediaSession |
| To be called by subclasses whenever a media session begins, namely, right after new media has been successfully loaded on the remote player. More... | |
| (void) | - notifyDidUpdateMediaStatus |
| To be called by subclasses whenever the mediaStatus object of the client changes. More... | |
| (void) | - notifyDidUpdateQueue |
| To be called by subclasses whenever the media queue managed by the client changes. More... | |
| (void) | - notifyDidUpdatePreloadStatus |
| To be called by subclasses whenever the GCKMediaStatus::preloadedItemID of the client's GCKMediaStatus changes. More... | |
| (void) | - notifyDidUpdateMetadata |
| To be called by subclasses whenever the metadata changes. More... | |
| (void) | - notifyDidReceiveQueueItemIDs: |
| To be called by subclasses whenever the list of media queue item IDs is received. More... | |
| (void) | - notifyDidInsertQueueItemsWithIDs:beforeItemWithID: |
| To be called by subclasses whenever a contiguous sequence of queue items has been inserted into the queue. More... | |
| (void) | - notifyDidUpdateQueueItemsWithIDs: |
| To be called by subclasses whenever existing queue items have been updated in the queue. More... | |
| (void) | - notifyDidRemoveQueueItemsWithIDs: |
| To be called by subclasses whenever a contiguous sequence of queue items has been removed from the queue. More... | |
| (void) | - notifyDidReceiveQueueItems: |
| To be called by a subclass whenever queue items have been received. More... | |
Method Detail
| - (void) notifyDidStartMediaSession |
To be called by subclasses whenever a media session begins, namely, right after new media has been successfully loaded on the remote player.
Extends class GCKRemoteMediaClient.
| - (void) notifyDidUpdateMediaStatus |
To be called by subclasses whenever the mediaStatus object of the client changes.
Extends class GCKRemoteMediaClient.
| - (void) notifyDidUpdateQueue |
To be called by subclasses whenever the media queue managed by the client changes.
Extends class GCKRemoteMediaClient.
| - (void) notifyDidUpdatePreloadStatus |
To be called by subclasses whenever the GCKMediaStatus::preloadedItemID of the client's GCKMediaStatus changes.
Extends class GCKRemoteMediaClient.
| - (void) notifyDidUpdateMetadata |
To be called by subclasses whenever the metadata changes.
Extends class GCKRemoteMediaClient.
| - (void) notifyDidReceiveQueueItemIDs: | (NSArray< NSNumber * > *) | itemIDs |
To be called by subclasses whenever the list of media queue item IDs is received.
- Parameters
-
itemIDs The list of queue item IDs.
- Since
- 4.1
Extends class GCKRemoteMediaClient.
| - (void) notifyDidInsertQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs | |
| beforeItemWithID: | (GCKMediaQueueItemID) | beforeItemID | |
To be called by subclasses whenever a contiguous sequence of queue items has been inserted into the queue.
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were inserted. beforeItemID The ID of the queue item in front of which the new items were inserted, or kGCKInvalidQueueItemID if the items were appended to the end of the queue.
- Since
- 4.1
Extends class GCKRemoteMediaClient.
| - (void) notifyDidUpdateQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs |
To be called by subclasses whenever existing queue items have been updated in the queue.
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were updated.
- Since
- 4.1
Extends class GCKRemoteMediaClient.
| - (void) notifyDidRemoveQueueItemsWithIDs: | (NSArray< NSNumber * > *) | itemIDs |
To be called by subclasses whenever a contiguous sequence of queue items has been removed from the queue.
- Parameters
-
itemIDs The list of queue item IDs identifying the items that were removed.
- Since
- 4.1
Extends class GCKRemoteMediaClient.
| - (void) notifyDidReceiveQueueItems: | (NSArray< GCKMediaQueueItem * > *) | items |
To be called by a subclass whenever queue items have been received.
- Parameters
-
items The list of queue items.
- Since
- 4.1
Extends class GCKRemoteMediaClient.