枚举地图项
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Feature
是一种枚举类型,用于为各种视图开启/关闭功能。在调用 PickerBuilder.enableFeature
和 PickerBuilder.disableFeature
时会使用这些值。
签名
export enum Feature
成员
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Enum Feature\n\n`Feature` is an enumerated type, for turning on/off features for various views.\nUse these values in calls to `PickerBuilder.enableFeature` and\n`PickerBuilder.disableFeature`.\n\nSignature\n---------\n\n export enum Feature\n\nMembers\n-------\n\n| Name | Description |\n|-------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------|\n| [`MINE_ONLY`](./picker.feature.mine_only) | Show only documents owned by the user when showing items from Google Drive. |\n| [`MULTISELECT_ENABLED`](./picker.feature.multiselect_enabled) | Allow user to choose more than one item. |\n| [`NAV_HIDDEN`](./picker.feature.nav_hidden) | Hide the navigation pane. If the navigation pane is hidden, users can only select from the first view chosen. |\n| [`SIMPLE_UPLOAD_ENABLED`](./picker.feature.simple_upload_enabled) | For photo uploads, controls whether per-photo `DocumentObject` (as opposed to per-album) `DocumentObject` is enabled. |\n| [~~`SUPPORT_DRIVES`~~](./picker.feature.support_drives) | *(Deprecated)* Whether shared drive items are included in results. |"]]