Stay organized with collectionsSave and categorize content based on your preferences.
Set the callback method. This method is called when the user selects items or
cancels. The callback method receives a single callback object. The structure
of the callback object is described in theJSON Guide.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-20 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)"]]