<GCKRemoteMediaClientListener> Protocol
Stay organized with collections
Save and categorize content based on your preferences.
The GCKRemoteMediaClient listener protocol.
- Since
- 3.0
Inherits <NSObjectNSObject>.
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didStartMediaSessionWithID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
Called when a new media session has started on the receiver.
- Parameters
-
client | The client. |
sessionID | The ID of the new session. |
Called when updated media status has been received from the receiver.
- Parameters
-
client | The client. |
mediaStatus | The updated media status. The status can also be accessed as a property of the player. |
Called when updated media metadata has been received from the receiver.
- Parameters
-
Called when the media playback queue has been updated on the receiver.
- Parameters
-
Called when the media preload status has been updated on the receiver.
- Parameters
-
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didReceiveQueueItemIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Called when the list of media queue item IDs has been received.
- Parameters
-
client | The client. |
queueItemIDs | The list of media queue item IDs. |
- Since
- 4.1
Called when a contiguous sequence of items has been inserted into the media queue.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the inserted items. |
beforeItemID | The item ID of the item in front of which the new items have been inserted. If the value is kGCKMediaQueueInvalidItemID, it indicates that the items were appended at the end of the queue. |
- Since
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Called when existing items has been updated in the media queue.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the updated items. |
- Since
- 4.1
- (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
Called when a contiguous sequence of items has been removed from the media queue.
- Parameters
-
client | The client. |
queueItemIDs | The item IDs of the removed items. |
- Since
- 4.1
Called when detailed information has been received for one or more items in the queue.
- Parameters
-
client | The client. |
queueItems | The queue items. |
- Since
- 4.1
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-08-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{
"last_modified": "Last updated 2020-08-05 UTC.",
"state": ""
}