EditorFileScopeActionResponse অবজেক্টগুলোর জন্য একটি বিল্ডার।
পদ্ধতি
| পদ্ধতি | রিটার্ন টাইপ | সংক্ষিপ্ত বিবরণ |
|---|---|---|
build() | Editor File Scope Action Response | বর্তমান সম্পাদকের কার্যকলাপের প্রতিক্রিয়া তৈরি করে। |
request File Scope For Active Document() | Editor File Scope Action Response Builder | বর্তমান সক্রিয় এডিটর ডকুমেন্টের জন্য drive.file স্কোপের অনুরোধ করা হচ্ছে। |
বিস্তারিত ডকুমেন্টেশন
build()
বর্তমান সম্পাদকের কার্যকলাপের প্রতিক্রিয়া তৈরি করে।
ফেরত
EditorFileScopeActionResponse — একটি যাচাইকৃত EditorFileScopeActionResponse ।
requestFileScopeForActiveDocument()
বর্তমান সক্রিয় এডিটর ডকুমেন্টের জন্য drive.file স্কোপের অনুরোধ করা হচ্ছে।
// 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();
দ্রষ্টব্য: এই মেথডটি কল করতে হলে, আপনাকে অ্যাড-অনটির ম্যানিফেস্টে drive.file স্কোপটি যোগ করতে হবে।
ফেরত
EditorFileScopeActionResponseBuilder — এই অবজেক্টটি, চেইনিংয়ের জন্য ব্যবহৃত হয়।