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

exportenumDocsViewMode

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 2025年06月20日 UTC.