Enum EventType
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ইভেন্টের ধরন ট্রিগার হওয়া ইভেন্টের ধরন নির্দেশ করে একটি গণনা।
একটি enum কল করার জন্য, আপনি তার পিতামাতার শ্রেণী, নাম এবং সম্পত্তি কল করুন। উদাহরণস্বরূপ, ScriptApp.EventType.CLOCK
।
বৈশিষ্ট্য
সম্পত্তি | টাইপ | বর্ণনা |
---|
CLOCK | Enum | সময়-চালিত ইভেন্টটি একটি নির্দিষ্ট সময়ে পৌঁছালে ট্রিগারটি ফায়ার করে। |
ON_OPEN | Enum | ব্যবহারকারী Google ডক্স, শীট বা ফর্ম ফাইলটি খুললেই ট্রিগারটি ফায়ার হয়৷ |
ON_EDIT | Enum | ব্যবহারকারী যখন Google পত্রক ফাইলটি সম্পাদনা করে তখন ট্রিগারটি ফায়ার হয় (উদাহরণস্বরূপ, একটি কক্ষে একটি নতুন মান প্রবেশ করে, যা পরিবর্তনের পরিবর্তে একটি সম্পাদনা হিসাবে গণনা করা হয়)৷ |
ON_FORM_SUBMIT | Enum | ব্যবহারকারী Google ফর্মে সাড়া দিলেই ট্রিগার ফায়ার হয়ে যায়। এই ট্রিগারটি হয় Google ফর্মে বা Google পত্রক ফাইলে পাওয়া যায় যেখানে ফর্মটি তার প্রতিক্রিয়া পাঠায়৷ |
ON_CHANGE | Enum | ব্যবহারকারী যখন Google পত্রক ফাইল পরিবর্তন করে তখন ট্রিগারটি চালু হয় (উদাহরণস্বরূপ, একটি সারি যোগ করে, যা সম্পাদনার পরিবর্তে একটি পরিবর্তন হিসাবে গণনা করা হয়)। |
ON_EVENT_UPDATED | Enum | নির্দিষ্ট Google ক্যালেন্ডারে একটি ইভেন্ট তৈরি, আপডেট বা মুছে ফেলার পরে ট্রিগারটি সক্রিয় হয়। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eEventType\u003c/code\u003e is an enumeration used to define the type of event that triggers a script to run.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventType\u003c/code\u003e enum includes properties such as \u003ccode\u003eCLOCK\u003c/code\u003e, \u003ccode\u003eON_OPEN\u003c/code\u003e, \u003ccode\u003eON_EDIT\u003c/code\u003e, \u003ccode\u003eON_FORM_SUBMIT\u003c/code\u003e, \u003ccode\u003eON_CHANGE\u003c/code\u003e, and \u003ccode\u003eON_EVENT_UPDATED\u003c/code\u003e, each corresponding to a specific event trigger.\u003c/p\u003e\n"],["\u003cp\u003eTo call an enum property, use the syntax \u003ccode\u003eScriptApp.EventType.PROPERTY_NAME\u003c/code\u003e, replacing \u003ccode\u003ePROPERTY_NAME\u003c/code\u003e with the desired event type (e.g., \u003ccode\u003eScriptApp.EventType.CLOCK\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThese event triggers allow scripts to automatically execute in response to various actions within Google Apps like Docs, Sheets, Forms, and Calendar.\u003c/p\u003e\n"]]],[],null,["# Enum EventType\n\nEventType\n\nAn enumeration denoting the type of triggered event.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nScriptApp.EventType.CLOCK`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `CLOCK` | `Enum` | The trigger fires once the time-driven event reaches a specific time. |\n| `ON_OPEN` | `Enum` | The trigger fires once the user opens the Google Docs, Sheets, or Forms file. |\n| `ON_EDIT` | `Enum` | The trigger fires once the user edits the Google Sheets file (for example, by entering a new value into a cell, which counts as an edit instead of a change). |\n| `ON_FORM_SUBMIT` | `Enum` | The trigger fires once the user responds to a Google Form. This trigger is available either in the Google Form itself or in the Google Sheets file that the form sends its responses to. |\n| `ON_CHANGE` | `Enum` | The trigger fires once the user changes the Google Sheets file (for example, by adding a row, which counts as a change instead of an edit). |\n| `ON_EVENT_UPDATED` | `Enum` | The trigger fires once an event gets created, updated, or deleted on the specified Google Calendar. |"]]