Editor nesneleri için bir oluşturucu.
Yöntemler
| Yöntem | Dönüş türü | Kısa açıklama |
|---|---|---|
build() | Editor | Mevcut Düzenleyici işlem yanıtını oluşturur. |
request | Editor | Mevcut etkin Düzenleyici dokümanı için drive.file kapsamını ister. |
Ayrıntılı dokümanlar
build()
Mevcut Düzenleyici işlem yanıtını oluşturur.
Return
Editor: Doğrulanmış bir Editor.
request File Scope For Active Document()
Mevcut etkin Düzenleyici dokümanı için drive.file kapsamını ister.
// Display a permissions dialog to the user, requesting `drive.file` scope for // the current document on behalf of this add-on. CardService.newEditorFileScopeActionResponseBuilder() .requestFileScopeForActiveDocument() .build();
Not: Bu yöntemi çağırmak için eklentinin manifest dosyasına drive.file kapsamını eklemeniz gerekir.
Return
Editor: Zincirleme için bu nesne.