<GCKRequestDelegate> Protokol
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Protokol delegasi GCKRequest.
- Sejak
- 3,0
Mewarisi <NSObjectNSObject>.
- (void) requestDidComplete: |
|
(GCKRequest *) |
request |
|
|
optional |
Dipanggil saat permintaan berhasil diselesaikan.
- Parameters
-
Dipanggil saat permintaan gagal.
- Parameters
-
request | The request. |
error | The error describing the failure. |
- (void) request: |
|
(GCKRequest *) |
request |
didAbortWithReason: |
|
(GCKRequestAbortReason) |
abortReason |
|
|
| |
|
optional |
Dipanggil saat permintaan tidak lagi dilacak.
Tidak menjamin permintaan tersebut berhasil atau gagal.
- Parameters
-
request | The request. |
abortReason | The reason why the request is no longer being tracked. |
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 2023-12-01 UTC.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2023-12-01 UTC."],[[["The `GCKRequestDelegate` protocol defines methods to handle the lifecycle of a `GCKRequest`."],["It includes methods to notify the delegate when a request completes successfully, fails, or is aborted."],["Delegate methods provide information about the request and any errors or reasons for abortion."],["This protocol is essential for tracking the status of asynchronous requests made using the Google Cast SDK."]]],[]]