<GCKMediaControlChannelDelegate> प्रोटोकॉल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
<GCKCastChannelNSObject> इनहेरिट करता है.
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCompleteLoadWithSessionID: |
|
(NSInteger) |
sessionID |
|
|
| |
|
optional |
मीडिया लोड करने का अनुरोध पूरा होने पर कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
sessionID | The unique media session ID that has been assigned to this media item. |
मीडिया लोड करने का अनुरोध पूरा न होने पर कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
error | The load error. |
यह जानकारी, खिलाड़ी की स्थिति के अपडेट होने पर मिलती है.
- Parameters
-
mediaControlChannel | The channel. |
अपडेट की गई सूची की स्थिति से जुड़ी जानकारी मिलने पर कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
पहले से लोड होने की अपडेट की स्थिति मिलने पर यह कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
यह तब अपडेट किया जाता है, जब अपडेट किया गया मीडिया मेटाडेटा मिलता है.
- Parameters
-
mediaControlChannel | The channel. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
requestDidCompleteWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
अनुरोध पूरा होने पर कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didReplaceRequestWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
यह तब कॉल किया जाता है, जब अनुरोध को ट्रैक नहीं किया जाता, क्योंकि ऐप्लिकेशन ने इसी तरह का दूसरा अनुरोध जारी किया है.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that has been replaced. This is the ID returned when the request was made. |
- (void) mediaControlChannel: |
|
(GCKMediaControlChannel *) |
mediaControlChannel |
didCancelRequestWithID: |
|
(NSInteger) |
requestID |
|
|
| |
|
optional |
यह तब कॉल किया जाता है, जब किसी अनुरोध को अब ट्रैक नहीं किया जा रहा है, क्योंकि इसे साफ़ तौर पर रद्द कर दिया गया है.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that has been cancelled. This is the ID returned when the request was made. |
अनुरोध पूरा न होने पर कॉल किया जाता है.
- Parameters
-
mediaControlChannel | The channel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
error | The error. If any custom data was associated with the error, it will be in the error's userInfo dictionary with the key . |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-12-05 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-12-05 (UTC) को अपडेट किया गया."],[],["The GCKMediaControlChannel delegate protocol updates on media operations. It notifies when media loading succeeds via `didCompleteLoadWithSessionID` or fails via `didFailToLoadMediaWithError`. It also provides updates on the player status, queue status, preload status, and metadata using `mediaControlChannelDidUpdateStatus`, `mediaControlChannelDidUpdateQueue`, `mediaControlChannelDidUpdatePreloadStatus`, and `mediaControlChannelDidUpdateMetadata` respectively. Furthermore, the protocol handles request statuses with `requestDidCompleteWithID`, `didReplaceRequestWithID`, `didCancelRequestWithID`, and `requestDidFailWithID`.\n"],null,[]]