Метод DocsView.setSelectFolderEnabled,Метод DocsView.setSelectFolderEnabled
Позволяет пользователю выбирать папку на Google Диске.
Подпись
setSelectFolderEnabled(enabled: boolean): DocsView;
Подробности
Необязательный | Нет |
---|
Финал | Нет |
---|
Защищено | Нет |
---|
Статический | Нет |
---|
Параметры
Имя | Тип | Необязательный | Описание |
---|
enabled | boolean | Нет | |
Возврат
DocsView
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-09 UTC.
[null,null,["Последнее обновление: 2025-01-09 UTC."],[[["Enables or disables the ability for users to select folders within the Google Drive interface."],["This functionality is controlled through the `setSelectFolderEnabled` method, taking a boolean value to indicate whether folder selection is allowed."],["Modifying this setting returns the `DocsView` object, permitting method chaining for further configurations."]]],["The core function `setSelectFolderEnabled` enables or disables folder selection within Google Drive. It accepts a mandatory boolean parameter, `enabled`, which determines whether folder selection is active. This function returns a `DocsView` object, and it is neither optional, final, protected, nor static. There is no default functionality, it is entirely controlled by the `enabled` parameter.\n"]]