Picker, उपयोगकर्ता के साथ यूज़र इंटरफ़ेस (यूआई) ऐक्शन को दिखाने वाला टॉप लेवल ऑब्जेक्ट है. ये ऑब्जेक्ट सीधे तौर पर नहीं बनाए जाते, बल्कि PickerBuilder क्लास का इस्तेमाल करते हैं.
PickerBuilder का इस्तेमाल Picker ऑब्जेक्ट बनाने के लिए किया जाता है. यहां दिए गए तरीकों के रिटर्न टाइप PickerBuilder होते हैं. हालांकि, जहां अलग से बताया गया है वहां यह टाइप नहीं होता. इससे एक कॉल के बाद दूसरा कॉल किया जा सकता है.
Feature, अलग-अलग व्यू के लिए सुविधाओं को चालू/बंद करने के लिए, एनोटेट किया गया टाइप है. PickerBuilder.enableFeature और PickerBuilder.disableFeature को किए जाने वाले कॉल में इन वैल्यू का इस्तेमाल करें.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-11-09 (UTC) को अपडेट किया गया."],[[["The Google Picker API enables users to select files from Google Drive and upload files using a builder pattern with `PickerBuilder` and `Picker` classes."],["The API provides various views like `DocsView` for file selection and `DocsUploadView` for uploads, customizable through `PickerBuilder` methods."],["Developers can utilize enums such as `ViewId` and `DocsViewMode` to configure the picker's appearance and functionality."],["Callback functions handle user selections, providing access to selected item details via objects like `DocumentObject` and `ResponseObject`."],["The API offers features like resource ID generation with `ResourceId`, view grouping with `ViewGroup`, and language localization with `Locales`."]]],["The Google Picker API utilizes `PickerBuilder` to construct `Picker` objects, which manage the user interface. You configure the picker by setting parameters such as OAuth token, app ID, and views (e.g., `DocsView`) using `PickerBuilder`. The `setCallback` function process selected files. Different views are available like uploading or selecting files, and the API provides various enums to describe the item and action selected by the user, like `ViewId` and `Action`. Additionally, interfaces such as `DocumentObject` and `ResponseObject` represent data related to the user's selection.\n"]]