ViewId 枚举
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
ViewId
是选择器中可用各种视图的枚举类型。在对 DocsView
和 PickerBuilder
的调用中使用这些值。
签名
export enum ViewId
成员
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[],[],null,["# Enum ViewId\n\n`ViewId` is an enumerated type for the various views available in the Picker.\nUse these values in calls to `DocsView` and `PickerBuilder`.\n\nSignature\n---------\n\n export enum ViewId\n\nMembers\n-------\n\n| Name | Description |\n|--------------------------------------------------------------------|-----------------------------------|\n| [`DOCS`](./picker.viewid.docs) | All Google Drive document types. |\n| [`DOCS_IMAGES`](./picker.viewid.docs_images) | Google Drive photos. |\n| [`DOCS_IMAGES_AND_VIDEOS`](./picker.viewid.docs_images_and_videos) | Google Drive photos and videos. |\n| [`DOCS_VIDEOS`](./picker.viewid.docs_videos) | Google Drive videos. |\n| [`DOCUMENTS`](./picker.viewid.documents) | Google Drive Documents. |\n| [`DRAWINGS`](./picker.viewid.drawings) | Google Drive Drawings. |\n| [`FOLDERS`](./picker.viewid.folders) | Google Drive Folders. |\n| [`FORMS`](./picker.viewid.forms) | Google Drive Forms. |\n| [`PDFS`](./picker.viewid.pdfs) | PDF files stored in Google Drive. |\n| [`PRESENTATIONS`](./picker.viewid.presentations) | Google Drive Presentations. |\n| [`SPREADSHEETS`](./picker.viewid.spreadsheets) | Google Drive Spreadsheets. |\n| [~~`IMAGE_SEARCH`~~](./picker.viewid.image_search) | *(Deprecated)* |\n| [~~`MAPS`~~](./picker.viewid.maps) | *(Deprecated)* |\n| [~~`PHOTO_ALBUMS`~~](./picker.viewid.photo_albums) | *(Deprecated)* |\n| [~~`PHOTO_UPLOAD`~~](./picker.viewid.photo_upload) | *(Deprecated)* |\n| [~~`PHOTOS`~~](./picker.viewid.photos) | *(Deprecated)* |\n| [~~`RECENTLY_PICKED`~~](./picker.viewid.recently_picked) | *(Deprecated)* |\n| [~~`VIDEO_SEARCH`~~](./picker.viewid.video_search) | *(Deprecated)* |\n| [~~`WEBCAM`~~](./picker.viewid.webcam) | *(Deprecated)* |\n| [~~`YOUTUBE`~~](./picker.viewid.youtube) | *(Deprecated)* |"]]