Platforms to show: All Mac Windows Linux Cross-Platform

EKParticipantMBS 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 EKParticipant object represents a participant in a calendar event.
Example
// list the attendees of an event and whether they accepted
// ev is an EKEventMBS from your EKEventStoreMBS
Var ev As EKEventMBS // your event
If ev = Nil Then Return

For Each p As EKParticipantMBS In ev.attendees
Var state As String = "status " + p.participantStatus.ToString
If p.participantStatus = EKParticipantMBS.kStatusAccepted Then state = "accepted"
System.DebugLog p.name + " <" + p.URL + ">: " + state
Next
If ev.organizer <> Nil Then System.DebugLog "Organizer: " + ev.organizer.name

A participant can be a person, group, room, or other resource.

Do not create EKParticipant objects directly. Instead, use the property attendees on EKCalendarItem to return an array of EKParticipant objects.

Event Kit cannot add participants to an event nor change participant information. Use the properties in this class to get information about a participant.
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.

Roles

Constant Value Description
kRoleChair 3 The participant is the chair of the event.
kRoleNonParticipant 4 The participant does not have an active role in the event.
kRoleOptional 2 The participant’s attendance is optional.
kRoleRequired 1 The participant’s attendance is required.
kRoleUnknown 0 The participant’s role is unknown.

Status Constants

Constant Value Description
kStatusAccepted 2 The participant has accepted the event.
kStatusCompleted 6 The participant’s event has completed.
kStatusDeclined 3 The participant has declined the event.
kStatusDelegated 5 The participant has delegated attendance to another participant.
kStatusInProcess 7 The participant’s event is currently in process.
kStatusPending 1 The participant has yet to respond to the event.
kStatusTentative 4 The participant’s attendance status is tentative.
kStatusUnknown 0 The participant’s attendance status is unknown.

Participant Types

Constant Value Description
kTypeGroup 4 The participant is a group.
kTypePerson 1 The participant is a person.
kTypeResource 3 The participant is a resource.
kTypeRoom 2 The participant is a room.
kTypeUnknown 0 The participant’s type is unknown.

Superclass EKObjectMBS

This class has no subclasses.

Blog Entries

Release notes

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.


EKObjectMBS   -   EKRecurrenceDayOfWeekMBS


The biggest plugin in space...