Protokol <GCKGameManagerChannelDelegate>
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
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.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Informasi yang saya butuhkan tidak ada"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Terlalu rumit/langkahnya terlalu banyak"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Sudah usang"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Masalah terjemahan"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Masalah kode / contoh"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Lainnya"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Mudah dipahami"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Memecahkan masalah saya"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Lainnya"
}]