Editor 객체의 빌더입니다.
메서드
| 메서드 | 반환 유형 | 간략한 설명 |
|---|---|---|
build() | Editor | 현재 편집기 작업 응답을 빌드합니다. |
request | Editor | 현재 활성 상태인 편집기 문서의 drive.file 범위를 요청합니다. |
자세한 문서
build()
request File Scope For Active Document()
현재 활성 상태인 편집기 문서의 drive.file 범위를 요청합니다.
// 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();
참고: 이 메서드를 호출하려면 부가기능의 매니페스트에 drive.file 범위를 추가해야 합니다.
리턴
Editor - 연결을 위한 이 객체