מזהה תצוגה של הטיפוס בן המנייה (enum)
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
ViewId
הוא סוג של ספירה של התצוגות השונות שזמינות בבורר.
משתמשים בערכים האלה בקריאות ל-DocsView
ול-PickerBuilder
.
חתימה
export enum ViewId
חברי מועדון
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 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)* |"]]