Methods
| שיטה | סוג הערך שמוחזר | תיאור קצר |
|---|---|---|
build() | Editor | יוצר את התגובה הנוכחית לפעולה בכלי העריכה. |
request | Editor | שליחת בקשה להיקף drive.file למסמך הפעיל הנוכחי ב-Editor. |
תיעוד מפורט
build()
יוצר את התגובה הנוכחית לפעולה בכלי העריכה.
חזרה
Editor — Editor מאומת.
request File Scope For Active Document()
שליחת בקשה להיקף drive.file למסמך הפעיל הנוכחי ב-Editor.
// Display a permissions dialog to the user, requesting `drive.file` scope for // the current document on behalf of this add-on. AddOnsResponseService.newEditorFileScopeActionResponseBuilder() .requestFileScopeForActiveDocument() .build();
הערה: כדי להפעיל את ה-method הזה, צריך להוסיף את ההיקף drive.file למניפסט של התוסף.
חזרה
Editor – האובייקט הזה, לשרשור.