<GCKRemoteMediaClientListener> प्रोटोकॉल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GCKRemoteMediaClient लिसनर प्रोटोकॉल.
- से
- 3.0
<NSObjectNSObject> को इनहेरिट करता है.
| - (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
| didStartMediaSessionWithID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
यह तब कॉल किया जाता है, जब रिसीवर पर नया मीडिया सेशन शुरू हो जाता है.
- Parameters
-
| client | The client. |
| sessionID | The ID of the new session. |
यह तब कॉल किया जाता है, जब वीडियो पाने वाले से अपडेट की गई मीडिया की स्थिति मिल जाए.
- Parameters
-
| client | The client. |
| mediaStatus | The updated media status. The status can also be accessed as a property of the player. |
यह तब कॉल किया जाता है, जब कॉन्टेंट पाने वाले से अपडेट किया गया मीडिया मेटाडेटा मिल जाता है.
- Parameters
-
रिसीवर पर मीडिया प्लेबैक सूची अपडेट होने पर कॉल किया जाता है.
- Parameters
-
यह तब कॉल किया जाता है, जब रिसीवर पर मीडिया प्रीलोड स्थिति अपडेट हो जाती है.
- Parameters
-
| - (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
| didReceiveQueueItemIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
मीडिया सूची के आइटम आईडी की सूची मिलने पर, इसे कॉल किया जाता है.
- Parameters
-
| client | The client. |
| queueItemIDs | The list of media queue item IDs. |
- से
- 4.1
यह तब कॉल किया जाता है, जब मीडिया सूची में एक तय क्रम में कई आइटम डाले जाते हैं.
- 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. |
- से
- 4.1
| - (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
| didUpdateQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
यह तब कॉल किया जाता है, जब मीडिया सूची में मौजूदा आइटम अपडेट कर दिए जाते हैं.
- Parameters
-
| client | The client. |
| queueItemIDs | The item IDs of the updated items. |
- से
- 4.1
| - (void) remoteMediaClient: |
|
(GCKRemoteMediaClient *) |
client |
| didRemoveQueueItemsWithIDs: |
|
(NSArray< NSNumber * > *) |
queueItemIDs |
|
|
| |
|
optional |
यह तब कॉल किया जाता है, जब मीडिया सूची से आइटम का एक तय क्रम हटा दिया जाता है.
- Parameters
-
| client | The client. |
| queueItemIDs | The item IDs of the removed items. |
- से
- 4.1
इसे तब कॉल किया जाता है, जब सूची में मौजूद एक या उससे ज़्यादा आइटम के बारे में पूरी जानकारी मिल जाती है.
- Parameters
-
| client | The client. |
| queueItems | The queue items. |
- से
- 4.1
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[],["The `GCKRemoteMediaClientListener` protocol defines methods for monitoring media playback on a Cast receiver. Key actions include receiving updates on: new media session starts with `didStartMediaSessionWithID:`, media status changes via `didUpdateMediaStatus:`, and metadata updates through `didUpdateMediaMetadata:`. It also handles queue modifications with methods like `remoteMediaClientDidUpdateQueue:`, `didReceiveQueueItemIDs:`, `didInsertQueueItemsWithIDs:beforeItemWithID:`, `didUpdateQueueItemsWithIDs:`, `didRemoveQueueItemsWithIDs:`, `didReceiveQueueItems:`, and `remoteMediaClientDidUpdatePreloadStatus:`. Each method is linked to the client and relevant identifiers.\n"]]