Google Calendar feed API删除事件 [英] Google Calendar feed api deleted events

查看:82
本文介绍了Google Calendar feed API删除事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Google日历与我的应用程序同步(我将事件存储在数据库中).更新事件后,我可以按照更新的"顺序对事件供稿进行排序,从而轻松地找到最新的更新. 但是,如果事件被删除/删除,如何从提要中跟踪此更新?

I'm syncing the Google Calendar with my application (I store events in a database). When an event is updated I can easily find the last updates by sorting the event feed on the 'updated' order. However, if an event is removed / deleted, how can I track this update from the feed?

推荐答案

尝试将showdeleted=true添加到查询供稿中,然后在检索到的条目中检查EventStatus.CANCELED.

Try to add showdeleted=true to your query feed and then check for EventStatus.CANCELED on retrieved entries.

Check this thread for further information.

这篇关于Google Calendar feed API删除事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆