Platforms to show: All Mac Windows Linux Cross-Platform
Back to EKEventStoreMBS class.
EKEventStoreMBS.refreshSourcesIfNecessary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Use this method to pull new data from remote sources if the local data is out of date.
EKEventStoreMBS.remindersWithExternalIdentifier(identifier as string) as EKCalendarItemMBS()
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Same as calendarItemsWithExternalIdentifier, but only returning reminders.
EKEventStoreMBS.reminderWithIdentifier(identifier as string) as EKCalendarItemMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 18.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Same as calendarItemWithIdentifier, but for reminders only.
EKEventStoreMBS.removeCalendar(calendar as EKCalendarMBS, commit as boolean, byref error as NSErrorMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
calendar: The calendar to be removed.
commit: True to remove the calendar immediately; otherwise, the change is batched until the commit: method is invoked.
error: The error that occurred, if any; otherwise, nil.
Returns ture if successful; otherwise, false.
This method raises an exception if calendar belongs to another event store.
EKEventStoreMBS.removeEvent(event as EKEventMBS, span as integer, byref error as NSErrorMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 22.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
event: The event to remove.
span: The span that indicates whether to remove a single event or all future instances of the event in the case of a recurring event.
error: A pointer to an error object. If an error occurs, this pointer provides access to the error. If you don’t need the error information, pass nil.
Return true if the event store successfully removes the event; otherwise, NO. This method also returns false if event isn’t in the event store.
This method raises an exception if the event belongs to another event store.
Same as other saveEvent, but with commit = false.
See also:
EKEventStoreMBS.removeEvent(event as EKEventMBS, span as Integer, commit as boolean, byref error as NSErrorMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
event: The event to remove.
span: The span to use. Indicates whether the remove affects future instances of the event in the case of a recurring event.
commit: True to remove the event immediately; otherwise, the change is batched until the commit: method is invoked.
error: The error that occurred, if any did. Otherwise, nil.
If the event has successfully removed, true; otherwise, false. Also returns false if event cannot be removed because it is not in the event store.
This method raises an exception if it is passed an event from another event store.
See also:
EKEventStoreMBS.removeReminder(reminder as EKReminderMBS, commit as boolean, byref error as NSErrorMBS) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
reminder: The reminder to be removed.
commit: A Boolean value indicating whether to remove the reminder immediately or to batch the removals; passing NO will not commit the removal from the event store until the commit: method is invoked.
error: The error that occurred, if any; otherwise, nil.
If successful, true; otherwise, false.
This method raises an exception if reminder belongs to another event store.
EKEventStoreMBS.requestAccessToEntityType(entityType as Integer, tag as Variant = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
entityType: The event or reminder entity type.
Requesting access to an event store asynchronously prompts your users for permission to use their data. The user is only prompted the first time your app requests access to an entity type; any subsequent instantiations of EKEventStore uses existing permissions. When the user taps to grant or deny access, the requestAccessToEntityTypeCompleted event will be called on an arbitrary queue. Your app is not blocked while the user decides to grant or deny permission.
After users choose their permission level, the event store either calls the event.
Available in OS X v10.9 and later.
Some examples using this method:
EKEventStoreMBS.requestFullAccessToEvents(tag as variant = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests full access to events; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.
Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.
EKEventStoreMBS.requestFullAccessToReminders(tag as variant = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests access to reminders; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.
Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.
EKEventStoreMBS.requestWriteOnlyAccessToEvents(tag as variant = nil)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 24.1 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
Requesting access to an event store asynchronously prompts people for permission to use their data. The operating system only prompts them the first time your app requests write-only event access; any subsequent instantiations of EKEventStore uses existing permissions. When they grant or deny access, EventKit calls the requestAccessToEntityTypeCompleted event.
Your app isn’t blocked while the person decides to grant or deny permission. Because they may deny permission, your app should handle cases where it doesn’t receive access to the event store.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Calendar | MBS Mac64bit Plugin | 15.3 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
This method updates all the properties of all the objects with their corresponding values in the event store. Any local changes that were not saved before invoking this method will be lost. All objects that were created or retrieved using this store are disassociated from it and should be considered invalid.
The items on this page are in the following plugins: MBS Mac64bit Plugin.