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