EKParticipant Class Reference
| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/EventKit.framework |
| Availability | Available in iOS 4.0 and later. |
| Companion guide | |
| Declared in | EKParticipant.h EKTypes.h |
Overview
An EKParticipant object represents a participant in a calendar event. 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.
Tasks
Accessing Participant Properties
-
isCurrentUserproperty -
nameproperty -
participantRoleproperty -
participantStatusproperty -
participantTypeproperty -
URLproperty
Finding Participant Address Book Records
Properties
isCurrentUser
A Boolean value indicating whether this participant represents the owner of this account. (read-only)
Availability
- Available in iOS 6.0 and later.
Declared In
EKParticipant.hname
The participant’s name. (read-only)
Availability
- Available in iOS 4.0 and later.
Declared In
EKParticipant.hparticipantRole
The participant’s role in the event. (read-only)
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
EKParticipant.hparticipantStatus
The participant’s attendance status. (read-only)
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
EKParticipant.hparticipantType
The participant’s type. (read-only)
Availability
- Available in iOS 4.0 and later.
See Also
Declared In
EKParticipant.hURL
The URL representing this participant. (read-only)
Availability
- Available in iOS 4.0 and later.
Declared In
EKParticipant.hInstance Methods
ABRecordWithAddressBook:
Returns the address book record that represents the participant.
Parameters
- addressBook
The address book to search.
Return Value
The address book record for the participant, or nil if the record is not found.
Discussion
This method searches for a record match based on the participant’s email address.
Special Considerations
Availability
- Available in iOS 4.0 and later.
Declared In
EKParticipant.hConstants
Participant Roles
Represents a participant’s role for an event.
typedef enum {
EKParticipantRoleUnknown,
EKParticipantRoleRequired,
EKParticipantRoleOptional,
EKParticipantRoleChair,
EKParticipantRoleNonParticipant
} EKParticipantRole;
Constants
EKParticipantRoleUnknownThe participant’s role is unknown.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantRoleRequiredThe participant’s attendance is required.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantRoleOptionalThe participant’s attendance is optional.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantRoleChairThe participant is the chair of the event.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantRoleNonParticipantThe participant does not have an active role in the event.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.
Participant Statuses
Represents a participant’s attendance status for an event.
typedef enum {
EKParticipantStatusUnknown,
EKParticipantStatusPending,
EKParticipantStatusAccepted,
EKParticipantStatusDeclined,
EKParticipantStatusTentative,
EKParticipantStatusDelegated,
EKParticipantStatusCompleted,
EKParticipantStatusInProcess
} EKParticipantStatus;
Constants
EKParticipantStatusUnknownThe participant’s attendance status is unknown.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusPendingThe participant has yet to respond to the event.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusAcceptedThe participant has accepted the event.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusDeclinedThe participant has declined the event.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusTentativeThe participant’s attendance status is tentative.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusDelegatedThe participant has delegated attendance to another participant.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusCompletedThe participant’s event has completed.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantStatusInProcessThe participant’s event is currently in process.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.
Participant Types
Represent’s a participant’s type.
typedef enum {
EKParticipantTypeUnknown,
EKParticipantTypePerson,
EKParticipantTypeRoom,
EKParticipantTypeResource,
EKParticipantTypeGroup
} EKParticipantType;
Constants
EKParticipantTypeUnknownThe participant’s type is unknown.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantTypePersonThe participant is a person.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantTypeRoomThe participant is a room.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantTypeResourceThe participant is a resource.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.EKParticipantTypeGroupThe participant is a group.
Available in iOS 4.0 and later.
Declared in
EKTypes.h.
© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-07-17)