Enum ViewId
Stay organized with collections
Save and categorize content based on your preferences.
ViewId
is an enumerated type for the various views available in the Picker.
Use these values in calls to DocsView
and PickerBuilder
.
Signature
export enum ViewId
Members
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 2025-06-20 UTC.
[null,null,["Last updated 2025-06-20 UTC."],[],[],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)* |"]]