Class CalendarTriggerBuilder
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-12-02。
[null,null,["最后更新时间 (UTC):2024-12-02。"],[[["`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"]]