Giao thức <GCKRequestDelegate>
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Giao thức uỷ quyền GCKRequest.
- Since
- 3.0
Kế thừa <NSObjectNSObject>.
- (void) requestDidComplete: |
|
(GCKRequest *) |
request |
|
|
optional |
Được gọi khi yêu cầu đã hoàn tất thành công.
- Parameters
-
Được gọi khi yêu cầu không thành công.
- Parameters
-
request | The request. |
error | The error describing the failure. |
- (void) request: |
|
(GCKRequest *) |
request |
didAbortWithReason: |
|
(GCKRequestAbortReason) |
abortReason |
|
|
| |
|
optional |
Được gọi khi yêu cầu không còn được theo dõi nữa.
Nó không đảm bảo rằng yêu cầu đã thành công hoặc không thành công.
- Parameters
-
request | The request. |
abortReason | The reason why the request is no longer being tracked. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2022-12-06 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2022-12-06 UTC."],[[["The `GCKRequestDelegate` protocol defines methods to handle the lifecycle of a `GCKRequest`, providing callbacks for success, failure, and abortion."],["`requestDidComplete:` is called when a request successfully completes."],["`request:didFailWithError:` is called when a request fails, providing an error object with details about the failure."],["`request:didAbortWithReason:` is called when a request is no longer tracked, indicating it may not have completed or failed, with a reason for the abortion."]]],[]]