[EventKit] Add support for Xcode 15 beta 7 (#18863)
Co-authored-by: GitHub Actions Autoformatter <github-actions-autoformatter@xamarin.com> Co-authored-by: Alex Soto <alex@soto.dev>
This commit is contained in:
Родитель
ddf2ad8532
Коммит
d69e4632ef
|
@ -190,6 +190,7 @@ namespace EventKit {
|
|||
Restricted,
|
||||
Denied,
|
||||
Authorized,
|
||||
WriteOnly,
|
||||
}
|
||||
|
||||
[Native]
|
||||
|
|
|
@ -672,16 +672,36 @@ namespace EventKit {
|
|||
EKSource [] DelegateSources { get; }
|
||||
|
||||
[MacCatalyst (13, 1)]
|
||||
[Deprecated (PlatformName.iOS, 17, 0, message: "Use RequestFullAccessToEvents, RequestWriteOnlyAccessToEvents, or RequestFullAccessToReminders.")]
|
||||
[Deprecated (PlatformName.MacOSX, 14, 0, message: "Use RequestFullAccessToEvents, RequestWriteOnlyAccessToEvents, or RequestFullAccessToReminders.")]
|
||||
[Deprecated (PlatformName.WatchOS, 10, 0, message: "Use RequestFullAccessToEvents, RequestWriteOnlyAccessToEvents, or RequestFullAccessToReminders.")]
|
||||
[Deprecated (PlatformName.MacCatalyst, 17, 0, message: "Use RequestFullAccessToEvents, RequestWriteOnlyAccessToEvents, or RequestFullAccessToReminders.")]
|
||||
[Export ("requestAccessToEntityType:completion:")]
|
||||
[Async]
|
||||
void RequestAccess (EKEntityType entityType, Action<bool, NSError> completionHandler);
|
||||
|
||||
[Watch (10, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
|
||||
[Export ("requestFullAccessToEventsWithCompletion:")]
|
||||
[Async]
|
||||
void RequestFullAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion);
|
||||
|
||||
[Watch (10, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
|
||||
[Export ("requestWriteOnlyAccessToEventsWithCompletion:")]
|
||||
[Async]
|
||||
void RequestWriteOnlyAccessToEvents (EKEventStoreRequestAccessCompletionHandler completion);
|
||||
|
||||
[Watch (10, 0), Mac (14, 0), iOS (17, 0), MacCatalyst (17, 0)]
|
||||
[Export ("requestFullAccessToRemindersWithCompletion:")]
|
||||
[Async]
|
||||
void RequestFullAccessToReminders (EKEventStoreRequestAccessCompletionHandler completion);
|
||||
|
||||
[MacCatalyst (13, 1)]
|
||||
[Static]
|
||||
[Export ("authorizationStatusForEntityType:")]
|
||||
EKAuthorizationStatus GetAuthorizationStatus (EKEntityType entityType);
|
||||
}
|
||||
|
||||
delegate void EKEventStoreRequestAccessCompletionHandler (bool didRequestAccess, NSError error);
|
||||
delegate void EKEventSearchCallback (EKEvent theEvent, ref bool stop);
|
||||
|
||||
[BaseType (typeof (EKCalendarItem))]
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
!missing-selector! EKEventStore::initWithSources: not bound
|
||||
!missing-selector! EKSource::isDelegate not bound
|
|
@ -1,2 +1,4 @@
|
|||
## extra value so the enum is easier to create
|
||||
!extra-enum-value! Managed value 0 for EKWeekday.NotSet not found in native headers
|
||||
## `Last` value can change overtime - which would be a breaking change for us
|
||||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
|
|
|
@ -1,5 +1,2 @@
|
|||
## only available on OSX (NA or unused in iOS)
|
||||
!missing-enum! EKAlarmType not bound
|
||||
|
||||
## `Last` value can change overtime - which would be a breaking change for us
|
||||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
!deprecated-attribute-missing! EKEventStore::requestAccessToEntityType:completion: missing a [Deprecated] attribute
|
||||
!missing-enum-value! EKAuthorizationStatus native value EKAuthorizationStatusWriteOnly = 4 not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToEventsWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToRemindersWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestWriteOnlyAccessToEventsWithCompletion: not bound
|
|
@ -1,5 +0,0 @@
|
|||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
!missing-enum-value! EKAuthorizationStatus native value EKAuthorizationStatusWriteOnly = 4 not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToEventsWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToRemindersWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestWriteOnlyAccessToEventsWithCompletion: not bound
|
|
@ -1,3 +1,4 @@
|
|||
## extra value so the enum is easier to create
|
||||
!extra-enum-value! Managed value 0 for EKWeekday.NotSet not found in native headers
|
||||
## `Last` value can change overtime - which would be a breaking change for us
|
||||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
## only available on OSX (NA or unused in iOS)
|
||||
!missing-enum! EKAlarmType not bound
|
||||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
!deprecated-attribute-missing! EKEventStore::requestAccessToEntityType:completion: missing a [Deprecated] attribute
|
||||
!missing-enum-value! EKAuthorizationStatus native value EKAuthorizationStatusWriteOnly = 4 not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToEventsWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToRemindersWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestWriteOnlyAccessToEventsWithCompletion: not bound
|
|
@ -1,5 +0,0 @@
|
|||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
||||
!missing-enum-value! EKAuthorizationStatus native value EKAuthorizationStatusWriteOnly = 4 not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToEventsWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToRemindersWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestWriteOnlyAccessToEventsWithCompletion: not bound
|
|
@ -1 +0,0 @@
|
|||
!missing-enum-value! EKErrorCode native value EKErrorLast = 37 not bound
|
|
@ -1,5 +0,0 @@
|
|||
!deprecated-attribute-missing! EKEventStore::requestAccessToEntityType:completion: missing a [Deprecated] attribute
|
||||
!missing-enum-value! EKAuthorizationStatus native value EKAuthorizationStatusWriteOnly = 4 not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToEventsWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestFullAccessToRemindersWithCompletion: not bound
|
||||
!missing-selector! EKEventStore::requestWriteOnlyAccessToEventsWithCompletion: not bound
|
Загрузка…
Ссылка в новой задаче