Platforms to show: All Mac Windows Linux Cross-Platform

EKSourceMBS class

Superclass: EKObjectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Calendar MBS Mac64bit Plugin 15.3 ✅ Yes ❌ No ❌ No ✅ Yes Desktop & iOS
An instance of the EKSource class represents the account that a calendar belongs to.
Example
// list the calendar accounts and their calendars
// The app needs calendar access, see EKEventStoreMBS.requestAccessToEntityType.
Var store As New EKEventStoreMBS
Var lines() As String
For Each source As EKSourceMBS In store.sources
lines.Add source.title + " (type " + source.sourceType.ToString + ")"
For Each cal As EKCalendarMBS In source.calendarsForEntityType(EKEventStoreMBS.kEntityTypeEvent)
lines.Add " " + cal.title
Next
Next
MessageBox String.FromArray(lines, EndOfLine)

You do not create instances of this class. You retrieve EKSource objects from an EKEventStore object. Use the sources property to get all the EKSource objects for an event store, and use the methods in this class to access properties of the source object.
Subclass of the EKObjectMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Types

Constant Value Description
kTypeBirthdays 5 Represents a birthday source.
kTypeCalDAV 2 Represents a CalDAV or iCloud source.
kTypeExchange 1 Represents an Exchange source.
kTypeLocal 0 Represents a local source.
kTypeMobileMe 3 Represents a MobileMe source.
kTypeSubscribed 4 Represents a subscribed source.

Superclass EKObjectMBS

This class has no subclasses.

Some methods using this class:

Some properties using this class:

Some related classes:


The items on this page are in the following plugins: MBS Mac64bit Plugin.


EKReminderMBS   -   EKStructuredLocationMBS


The biggest plugin in space...