Protokol <GCKGameManagerChannelDelegate>
Protokol delegasi GCKGameManagerChannel.
- Deprecated:
- Game Manager API tidak lagi didukung dan akan dihapus dalam rilis mendatang.
Mewarisi <GCKCastChannelNSObject>.
Dipanggil saat status Game Manager telah berubah.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
currentState | The current state. |
previousState | The previous state. |
- (void) gameManagerChannel: |
|
(GCKGameManagerChannel *) |
gameManagerChannel |
didReceiveGameMessage: |
|
(id) |
gameMessage |
forPlayerID: |
|
(NSString *) |
playerID |
|
|
| |
Dipanggil saat penerima mengirim pesan game untuk pemain tertentu.
- Parameters
-
gameManagerChannel | The affected GCKGameManagerChannel. |
gameMessage | The game message sent by the receiver. |
playerID | The player ID associated with the game message. |
Dipanggil saat permintaan pemain atau permintaan game berhasil.
- 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. |
Dipanggil saat permintaan pemain atau permintaan game gagal dengan 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. |
Dipanggil saat Game Manager penerima berhasil terhubung dan kita siap berinteraksi dengannya.
- Parameters
-
Dipanggil saat Pengelola Game penerima mengalami error selama koneksi berlangsung.
- Parameters
-
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2022-12-06 UTC.
[null,null,["Terakhir diperbarui pada 2022-12-06 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."]]],[]]