ViewId 列舉
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
ViewId
是挑選器中可用各種檢視畫面的列舉類型。
在對 DocsView
和 PickerBuilder
的呼叫中使用這些值。
簽名
export enum ViewId
成員
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間: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)* |"]]