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 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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. |"]]