Class ISN_EKEventStore
Event Kit store that gives access to Event Kit functionality.
Inheritance
Inherited Members
Namespace: SA.iOS.EventKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_EKEventStore
Properties
Instance
Get Instance of Event Kit store
Declaration
public static ISN_EKEventStore Instance { get; }
Property Value
Type | Description |
---|---|
ISN_EKEventStore |
Methods
RemoveEvent(String, Action<SA_Result>)
Remove event though EventKit by it identifier.
Declaration
public void RemoveEvent(string identifier, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Identifier of the created event in the EventStore. |
Action<SA_Result> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
RemoveReminder(String, Action<SA_Result>)
Remove reminder though EventKit by it identifier.
Declaration
public void RemoveReminder(string identifier, Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | identifier | Identifier of the created reminder in the Calendar. |
Action<SA_Result> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
RequestAccessToEvent(Action<SA_Result>)
Request access to EventKit Event.
Declaration
public void RequestAccessToEvent(Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<SA_Result> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
RequestAccessToReminder(Action<SA_Result>)
Request access to EventKit Reminder.
Declaration
public void RequestAccessToReminder(Action<SA_Result> callback)
Parameters
Type | Name | Description |
---|---|---|
Action<SA_Result> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
SaveEvent(String, DateTime, DateTime, Action<ISN_EKSaveResult>)
Save new event though EventKit.
Declaration
public void SaveEvent(string title, DateTime startDate, DateTime endDate, Action<ISN_EKSaveResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title of the event. |
DateTime | startDate | Start date of this event. |
DateTime | endDate | End date of this event. |
Action<ISN_EKSaveResult> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
SaveEvent(String, DateTime, DateTime, ISN_EKAlarmDataRequest, ISN_EKRecurrenceRuleRequest, Action<ISN_EKSaveResult>)
Save new event with alarm and recurrence rule though EventKit.
Declaration
public void SaveEvent(string title, DateTime startDate, DateTime endDate, ISN_EKAlarmDataRequest alarm, ISN_EKRecurrenceRuleRequest recurrenceRule, Action<ISN_EKSaveResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title of the event. |
DateTime | startDate | Start date of this event. |
DateTime | endDate | End date of this event.> |
ISN_EKAlarmDataRequest | alarm | Alarm that should be added to this event. |
ISN_EKRecurrenceRuleRequest | recurrenceRule | The recurrence rule that should be added to this event. |
Action<ISN_EKSaveResult> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
SaveReminder(String, Action<ISN_EKSaveResult>)
Save new reminder though EventKit.
Declaration
public void SaveReminder(string title, Action<ISN_EKSaveResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title of the reminder. |
Action<ISN_EKSaveResult> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |
SaveReminder(String, DateTime, DateTime, ISN_EKAlarmDataRequest, ISN_EKRecurrenceRuleRequest, Action<ISN_EKSaveResult>)
Save new reminder with added alarm and recurrent rule though EventKit.
Declaration
public void SaveReminder(string title, DateTime startDate, DateTime endDate, ISN_EKAlarmDataRequest alarm, ISN_EKRecurrenceRuleRequest recurrenceRule, Action<ISN_EKSaveResult> callback)
Parameters
Type | Name | Description |
---|---|---|
System.String | title | Title of the reminder. |
DateTime | startDate | Start date of this reminder. |
DateTime | endDate | End date of this reminder.> |
ISN_EKAlarmDataRequest | alarm | Alarm that should be added to this reminder. |
ISN_EKRecurrenceRuleRequest | recurrenceRule | The recurrence rule that should be added to this reminder. |
Action<ISN_EKSaveResult> | callback | This is callback that will be called from EventKit when user will give access or not to iOS calendar functionality. It shouldn't be null. |