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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-07 (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."]]],[]]