Enum DocsViewMode
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
DocsViewMode
הוא טיפוס מונה להצגת נתונים ב-DocsView. משתמשים בערכים האלה בקריאות ל-DocsView.setMode
.
אם אתם משתמשים בהיקף שהוא לא https://www.googleapis.com/auth/drive
או https://www.googleapis.com/auth/drive.readonly
, מומלץ להשתמש ב-DocsViewMode.LIST
כי המשתמש לא העניק גישה לתמונות הממוזערות.
חתימה
export enum DocsViewMode
חברי מועדון
שם |
תיאור |
GRID |
הצגת מסמכים ברשת של תמונות ממוזערות. |
LIST |
הצגת מסמכים ברשימה מפורטת. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],[],null,["# Enum DocsViewMode\n\n`DocsViewMode` is an enumerated type for displaying data within a DocsView. Use\nthese values in calls to `DocsView.setMode`.\n\nIf using a scope other than `https://www.googleapis.com/auth/drive` or\n`https://www.googleapis.com/auth/drive.readonly`, it is recommended to use\n`DocsViewMode.LIST` as the user has not granted access to thumbnails.\n\nSignature\n---------\n\n export enum DocsViewMode\n\nMembers\n-------\n\n| Name | Description |\n|--------------------------------------|----------------------------------------|\n| [`GRID`](./picker.docsviewmode.grid) | Display documents in a thumbnail grid. |\n| [`LIST`](./picker.docsviewmode.list) | Display documents in a detailed list. |"]]