Enum DocsViewMode
DocsViewMode
is an enumerated type for displaying data within a DocsView. Use
these values in calls to DocsView.setMode
.
If using a scope other than https://www.googleapis.com/auth/drive
or
https://www.googleapis.com/auth/drive.readonly
, it is recommended to use
DocsViewMode.LIST
as the user has not granted access to thumbnails.
Signature
export enum DocsViewMode
Members
Name |
Description |
GRID |
Display documents in a thumbnail grid. |
LIST |
Display documents in a detailed list. |
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 2024-09-27 UTC.
[null,null,["Last updated 2024-09-27 UTC."],[[["`DocsViewMode` is used to control how documents are displayed within a DocsView, using `GRID` for thumbnails and `LIST` for a detailed list view."],["When using limited scopes without thumbnail access, `DocsViewMode.LIST` is recommended to avoid potential issues."]]],[]]