Метод DocsView.setStarred
Фильтрует документы на основе того, отмечены ли они пользователем.
Подпись
setStarred(starred: boolean): DocsView;
Подробности
Необязательный | Нет |
---|
Финал | Нет |
---|
Защищено | Нет |
---|
Статический | Нет |
---|
Параметры
Имя | Тип | Необязательный | Описание |
---|
starred | boolean | Нет | |
Возврат
DocsView
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-01-09 UTC.
[null,null,["Последнее обновление: 2025-01-09 UTC."],[[["The `setStarred` method filters displayed documents based on whether they are starred by the user."],["If `starred` is true, only starred documents are shown; otherwise, all documents are displayed."],["This method returns a `DocsView` object for further interaction."]]],["The `setStarred` function filters documents displayed in a `DocsView`. It accepts a boolean parameter, `starred`. When `starred` is `true`, only documents marked as starred by the user are shown. If `false`, all documents are shown. This function is not optional, final, protected, or static. It returns a `DocsView` object, allowing for further operations on the document view.\n"]]