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.
Thiết lập phương thức gọi lại. Phương thức này được gọi khi người dùng chọn các mục hoặc huỷ. Phương thức gọi lại nhận một đối tượng gọi lại duy nhất. Cấu trúc
của đối tượng gọi lại được mô tả trong
JSON Guide.
[[["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: 2025-07-25 UTC."],[],[],null,["# Method PickerBuilder.setCallback\n\nSet the callback method. This method is called when the user selects items or\ncancels. The callback method receives a single callback object. The structure\nof the callback object is described in the\n[`JSON Guide`](/workspace/drive/picker/reference/results).\n\nSignature\n---------\n\n setCallback(method: (result: ResponseObject) =\u003e void): PickerBuilder;\n\nDetails\n-------\n\n| Optional | No |\n| Final | No |\n| Protected | No |\n| Static | No |\n|-----------|----|\n\nParameters\n----------\n\n| Name | Type | Optional | Description |\n|----------|-----------------------------------------------------------------|----------|-------------|\n| `method` | `(result: `[ResponseObject](./picker.responseobject)`) =\u003e void` | No | |\n\nReturns\n-------\n\n[PickerBuilder](./picker.pickerbuilder)"]]