Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.RefreshSourcesIfNecessary
Cause a sync to potentially occur taking into account the necessity of it.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 6.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.RefreshSourcesIfNecessary" )
Parameters
none
Result
Returns OK or error.
Description
Cause a sync to potentially occur taking into account the necessity of it.You can call this method to pull new data from remote sources. This only updates the event store's data. If you want to update your objects after refreshing the sources, you should call refresh on each of them afterwards. On iOS, this sync only occurs if deemed necessary. On OS X, this will occur regardless of necessity, but may change in a future release to match the iOS behavior. On WatchOS, initiating sync is not available. Sync will occur automatically with the paired iOS device.
Release notes
- Version 9.3
- Fixed problem with Events.RefreshSourcesIfNecessary.
Blog Entries
This function checks for a license.
Created 10th March 2016, last changed 10th March 2016
Events.RecurrenceRule.WeeksOfTheYear - Events.Reminder.GetCompleted