Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Events.RequestFullAccessToEvents
Prompts people to grant or deny read and write access to event data.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Events | 14.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "Events.RequestFullAccessToEvents" )
Parameters
none
Result
Returns Wait, OK or error.
Description
Prompts people to grant or deny read and write access to event data.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.
You can later check status with Events.AuthorizationStatusForEntityType.
The function may return OK if access is granted directly or Wait if user will be asked.
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.
Requires macOS 14.0 or iOS 17.0 or newer.
Examples
Request access for events:
Set Variable [$r; Value: MBS( "Events.RequestFullAccessToEvents" ) ]
See also
- Events.AuthorizationStatusForEntityType
- Events.RequestFullAccessToReminders
- Events.RequestWriteOnlyAccessToEvents
Release notes
- Version 14.1
Blog Entries
This function checks for a license.
Created 17th January 2024, last changed 25th January 2024
Events.RequestAccessToEntityType - Events.RequestFullAccessToReminders