<GCKGameManagerChannelDelegate> Protocol
The GCKGameManagerChannel delegate protocol.
- Deprecated:
- The Game Manager API is no longer supported and will be removed in a future release.
Inherits <GCKCastChannelNSObject>.
Called when the Game Manager state has changed.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
currentState | The current state. |
previousState | The previous state. |
- (void) gameManagerChannel: |
|
(GCKGameManagerChannel *) |
gameManagerChannel |
didReceiveGameMessage: |
|
(id) |
gameMessage |
forPlayerID: |
|
(NSString *) |
playerID |
|
|
| |
Called when the receiver sends a game message for a specific player.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
gameMessage | The game message sent by the receiver. |
playerID | The player ID associated with the game message. |
Called when a player request or game request was successful.
- 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. |
Called when a player request or game request failed with an error.
- 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. |
Called when the receiver's Game Manager connects successfully and we are ready to interact with it.
- Parameters
-
Called when the receiver's Game Manager encounters an error during connection.
- Parameters
-
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 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `GCKGameManagerChannelDelegate` protocol handles communication between your iOS app and the receiver's Game Manager."],["This protocol is deprecated and will be removed in a future release; the Game Manager API is no longer supported."],["Delegate methods are called when the Game Manager state changes, game messages are received, requests succeed or fail, and during connection events."],["Key functionalities include managing game state, sending and receiving game messages, and handling requests and responses."],["Developers should migrate away from this API to avoid future compatibility issues."]]],[]]