Enum ViewId
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
ViewId
là một loại được liệt kê cho nhiều thành phần hiển thị có trong Bộ chọn.
Sử dụng các giá trị này trong lệnh gọi đến DocsView
và PickerBuilder
.
Chữ ký
export enum ViewId
Hội viên
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 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)* |"]]