Builder untuk objek Editor.
Metode
| Metode | Jenis hasil yang ditampilkan | Deskripsi singkat |
|---|---|---|
build() | Editor | Membuat respons tindakan Editor saat ini. |
request | Editor | Meminta cakupan drive.file untuk dokumen Editor yang aktif saat ini. |
Dokumentasi mendetail
build()
Membuat respons tindakan Editor saat ini.
Pulang pergi
Editor — Editor yang divalidasi.
request File Scope For Active Document()
Meminta cakupan drive.file untuk dokumen Editor yang aktif saat ini.
// 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();
Catatan: Untuk memanggil metode ini, Anda harus menambahkan cakupan drive.file ke manifes
add-on.
Pulang pergi
Editor — Objek ini, untuk pembuatan rantai.