MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

MBS Xojo Network Kit 1.0

EKCalendarMB class:

Class EKCalendarMB Inherits EKObjectMB
ComputedProperty CGColorRef As Integer
Sub Set()
The calendar color as a CGColorRef.
Sub Get()
ComputedProperty ColorValue As color
Sub Set()
The calendar color as a CGColorRef.
Sub Get()
ComputedProperty Immutable As Boolean
Sub Get()
If this is set to YES, it means you cannot modify any attributes of the calendar or delete it. It does NOT imply that you cannot add events or reminders to the calendar.
ComputedProperty allowedEntityTypes As Integer
Sub Get()
Returns the entity types this calendar can contain. While our API only allows creation of single-entity calendars, other servers might allow mixed-entity calendars.
ComputedProperty allowsContentModifications As Boolean
Sub Get()
Represents whether you can this add, remove, or modify items in this calendar.
ComputedProperty calendarIdentifier As text
Sub Get()
A unique identifier for the calendar. It is 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 calendar that is no longer fetchable by this property, e.g. by title, type, color, etc. Use EKEventStoreMB.calendarWithIdentifier to look up the calendar by this value.
ComputedProperty source As EKSourceMB
Sub Set()
The source representing the 'account' this calendar belongs to. This is only settable when initially creating a calendar and then effectively read-only after that. That is, you can create a calendar, but you cannot move it to another source.
Sub Get()
ComputedProperty subscribed As Boolean
Sub Get()
True if this calendar is a subscribed calendar.
ComputedProperty supportedEventAvailabilities As Integer
Sub Get()
Returns a bitfield of supported event availabilities, or EKCalendarEventAvailabilityNone if this calendar does not support setting availability on an event.
ComputedProperty timeZone As xojo.Core.TimeZone
Sub Set()
The time zone
Sub Get()
ComputedProperty title As text
Sub Set()
The title of the calendar.
Sub Get()
ComputedProperty type As EKCalendarType
Sub Get()
The type of the calendar as a EKCalendarType. This is actually based on what source the calendar is in, as well as whether it is a subscribed calendar. CalDAV subscribed calendars have type EKCalendarTypeCalDAV with isSubscribed = YES.
Const EKCalendarEventAvailabilityBusy = 1
Const EKCalendarEventAvailabilityFree = 2
Const EKCalendarEventAvailabilityNone = 0
Const EKCalendarEventAvailabilityTentative = 4
Const EKCalendarEventAvailabilityUnavailable = 8
Enum EKCalendarType Local = 0 CalDAV = 1 Exchange = 2 Subscription = 3 Birthday = 4 End Enum
Sub Constructor(entityType as EKEventStoreMB.EKEntityType, Store as EKEventStoreMB)
Creates a new calendar that may contain the given entity type. You can only create calendars that accept either reminders or events via our API. However, other servers might allow mixing the two (though it is not common).
Sub Constructor(Handle as Integer, Retain as Boolean)
Create from Handle
Shared Function calendarForEntityType(entityType as EKEventStoreMB.EKEntityType, Store as EKEventStoreMB) As EKCalendarMB
Creates a new calendar that may contain the given entity type. You can only create calendars that accept either reminders or events via our API. However, other servers might allow mixing the two (though it is not common).
Note "About"
The EKCalendar class represents a calendar for events.
Note "Copyright"
© 2015 by Christian Schmitz, Monkeybread Software This is part of the MBS Xojo Event Kit for iOS http://www.monkeybreadsoftware.de/xojo/
End Class




Links
MBS Real Studio Plugins