Class CalendarTriggerBuilder
CalendarTriggerBuilder
Trình tạo cho trình kích hoạt lịch.
Tài liệu chi tiết
create()
Tạo và trả về điều kiện kích hoạt.
Cầu thủ trả bóng
Trigger
– Điều kiện kích hoạt mới.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-12-02 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2024-12-02 UTC."],[[["`CalendarTriggerBuilder` helps in building triggers specifically for Google Calendar events."],["It offers methods like `create()` to finalize the trigger and `onEventUpdated()` to define the trigger activation upon calendar event changes (creation, update, or deletion)."],["Triggers built using `CalendarTriggerBuilder` fire when a calendar entry is created, updated, or deleted."]]],["The `CalendarTriggerBuilder` creates calendar triggers. The `create()` method generates and returns a new trigger. The `onEventUpdated()` method defines a trigger that activates when a calendar entry is added, modified, or removed, and this method returns the builder itself, allowing for method chaining. Both return the trigger or the builder itself.\n"]]