Hello, Sorry about the delay in getting back to you. Please use the Etag as this is the method used to record the version of the entry; the etag changes every time the entry changes:
entry.getEtag(); Best, Alain On Fri, Oct 7, 2011 at 11:41 AM, atom <[email protected]>wrote: > After successfully uploading events to the calendar I was hoping to store > the versionId, so that in the future I could check for changes. However it > seems to return null every time. Perhaps I have misunderstood the use > of getVersionId() ? > > > for (CalendarEventEntry entry : batchResponse.getEntries()) { > > if (BatchUtils.isSuccess(entry)) { > String batchId = BatchUtils.getBatchId(entry); > log.debug("update: "+batchId); > log.debug("update: version= "+entry.getVersionId()); > } > } > > -- > You received this message because you are subscribed to the Google > Groups "Google Calendar Data API" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh | Developer Programs Engineer -- You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/calendar/community/forum.html
