<GCKGameManagerChannelDelegate> प्रोटोकॉल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
GCKGameManagerChannel डेलिगेट प्रोटोकॉल.
- Deprecated:
- गेम मैनेजर एपीआई अब काम नहीं करता. इसे आने वाले वर्शन में हटा दिया जाएगा.
<GCKCastChannelNSObject> इनहेरिट करता है.
यह सुविधा, गेम मैनेजर की स्थिति बदलने के बाद मिलती है.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
currentState | The current state. |
previousState | The previous state. |
- (void) gameManagerChannel: |
|
(GCKGameManagerChannel *) |
gameManagerChannel |
didReceiveGameMessage: |
|
(id) |
gameMessage |
forPlayerID: |
|
(NSString *) |
playerID |
|
|
| |
जब किसी खास खिलाड़ी को गेम का मैसेज भेजा जाता है, तो उसे कॉल किया जाता है.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
gameMessage | The game message sent by the receiver. |
playerID | The player ID associated with the game message. |
जब खिलाड़ी का अनुरोध या गेम का अनुरोध पूरा हो जाए, तो इसे कॉल किया जाता है.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
result | The GCKGameManagerResult returned as part of this request response. |
जब प्लेयर का अनुरोध या गेम का अनुरोध पूरा न हो, तब कॉल किया जाता है.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
requestID | The request ID that failed. This is the ID returned when the request was made. |
error | The error describing the failure. |
इसे तब कॉल किया जाता है, जब गेम का मैनेजर जुड़ जाता है और हम उससे इंटरैक्ट करने के लिए तैयार हो जाते हैं.
- Parameters
-
यह तब कॉल किया जाता है, जब गेम खेलने वाले व्यक्ति के गेम मैनेजर को कनेक्शन के दौरान गड़बड़ी का सामना करना पड़ता है.
- Parameters
-
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2022-12-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2022-12-06 (UTC) को अपडेट किया गया."],[],["The `GCKGameManagerChannelDelegate` protocol, now deprecated, handled game control operations. Key actions include monitoring game state changes, receiving game messages for specific players, and managing player or game request outcomes. The delegate is informed when requests succeed, providing the result, or fail, with an error. Additionally, it handles connection status, indicating when a connection is established or when a connection fails. These methods are called upon events that relate to Game Manager interactions.\n"],null,[]]