Picker to obiekt najwyższego poziomu reprezentujący działanie interfejsu użytkownika. Te obiekty nie są tworzone bezpośrednio, ale zamiast tego używają klasy PickerBuilder.
PickerBuilder służy do tworzenia obiektów Picker. O ile nie wskazano inaczej, poniższe metody zwracają typ PickerBuilder, co umożliwia łączenie wywołań w łańcuch.
Feature to typ wyliczeniowy służący do włączania i wyłączania funkcji w różnych widokach. Używaj tych wartości w wywołaniach funkcji PickerBuilder.enableFeature i PickerBuilder.disableFeature.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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"]]