Edit

Share via


EKEventStore.FetchReminders(NSPredicate, Action<EKReminder[]>) Method

Definition

Fetches the reminders that match the specified predicate.

[Foundation.Export("fetchRemindersMatchingPredicate:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual IntPtr FetchReminders (Foundation.NSPredicate predicate, Action<EventKit.EKReminder[]> completion);
abstract member FetchReminders : Foundation.NSPredicate * Action<EventKit.EKReminder[]> -> nativeint
override this.FetchReminders : Foundation.NSPredicate * Action<EventKit.EKReminder[]> -> nativeint

Parameters

predicate
NSPredicate

A predicate for the reminders you want to fetch.

completion
Action<EKReminder[]>

Method invoked with the reminders that match the predicate.

Returns

IntPtr

nativeint

Token that represents the fetch operation. Pass this to CancelFetchRequest(IntPtr) to cancel the operation.

Attributes

Applies to