MBS Xojo Network Kit 1.0
Class EKCalendarItemMB Inherits EKObjectMB
ComputedProperty URL As text
set the URL
ComputedProperty calendar As EKCalendarMB
ComputedProperty calendarItemExternalIdentifier As text
A server-provided identifier for this calendar item This identifier, provided by the server, allows you to reference the same event or reminder across multiple devices. For calendars stored locally on the device, including the birthday calendar, it simply passes through to calendarItemIdentifier. This identifier is unique as of creation for every calendar item. However, there are some cases where duplicate copies of a calendar item can exist in the same database, including: - A calendar item was imported from an ICS file into multiple calendars - An event was created in a calendar shared with the user and the user was also invited to the event - The user is a delegate of a calendar that also has this event - A subscribed calendar was added to multiple accounts In such cases, you should choose between calendar items based on other factors, such as the calendar or source. This identifier is the same for all occurrences of a recurring event. If you wish to differentiate between occurrences, you may want to use the start date. In addition, there are two caveats for Exchange-based calendars: - This identifier will be different between EventKit on iOS versus OS X - This identifier will be different between devices for EKReminders
ComputedProperty calendarItemIdentifier As text
A unique identifier for a calendar item. Item identifiers are not sync-proof in that a full sync will lose this identifier, so you should always have a back up plan for dealing with a reminder that is no longer fetchable by this property, e.g. by title, etc. Use EKEventStoreMB.calendarItemWithIdentifier to look up the item by this value.
ComputedProperty creationDate As Date
The creation date, can be nil!
ComputedProperty hasAlarms As Boolean
this item has alarms?
ComputedProperty hasAttendees As Boolean
this item has attendees?
ComputedProperty hasNotes As Boolean
this item has notes?
ComputedProperty hasRecurrenceRules As Boolean
this item has Recurrence Rules?
ComputedProperty lastModifiedDate As Date
The last modification date
ComputedProperty location As text
set the location
ComputedProperty notes As text
ComputedProperty title As text
set the title
Sub addAlarm(alarm as EKAlarmMB)
Adds an alarm to this item. This method add an alarm to an item. Be warned that some calendars can only allow a certain maximum number of alarms. When this item is saved, it will truncate any extra alarms from the array.
Sub addRecurrenceRule(rule as EKRecurrenceRuleMB)
Adds a recurrence rule
Function alarms() As EKAlarmMB()
An array of EKAlarm objects for alarms
Function attendees() As EKParticipantMB()
An array of EKParticipant objects for attendees
Function recurrenceRules() As EKRecurrenceRuleMB()
An array of EKRecurrenceRules, or nil if none.
Sub removeAlarm(alarm as EKAlarmMB)
Removes an alarm from this item.
Sub removeRecurrenceRule(rule as EKRecurrenceRuleMB)
Removes a recurrence rule
© 2015 by Christian Schmitz, Monkeybread Software This is part of the MBS Xojo Event Kit for iOS http://www.monkeybreadsoftware.de/xojo/
MBS Real Studio Chart Plugins