Enum Feature
Feature
is an enumerated type, for turning on/off features for various views.
Use these values in calls to PickerBuilder.enableFeature
and
PickerBuilder.disableFeature
.
Signature
export enum Feature
Members
Name |
Description |
MINE_ONLY |
Show only documents owned by the user when showing items from Google Drive. |
MULTISELECT_ENABLED |
Allow user to choose more than one item. |
NAV_HIDDEN |
Hide the navigation pane. If the navigation pane is hidden, users can only select from the first view chosen. |
SIMPLE_UPLOAD_ENABLED |
For photo uploads, controls whether per-photo DocumentObject (as opposed to per-album) DocumentObject is enabled. |
SUPPORT_DRIVES |
(Deprecated) Whether shared drive items are included in results. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-17 UTC.
[null,null,["Last updated 2024-09-17 UTC."],[[["`Feature` is an enum used to enable or disable functionalities within the Picker view."],["It's utilized with `PickerBuilder` methods to control features like single/multi-select, navigation pane visibility, and upload behavior."],["Specific features include showing only user-owned documents (`MINE_ONLY`), enabling multi-select (`MULTISELECT_ENABLED`), hiding navigation (`NAV_HIDDEN`), and simplifying photo uploads (`SIMPLE_UPLOAD_ENABLED`)."],["The `SUPPORT_DRIVES` feature is deprecated and should no longer be used."]]],[]]