Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/EventKit.framework |
Availability | Available in iOS 4.0 and later. |
Companion guide | |
Declared in | EKParticipant.h |
An EKParticipant
object represents a participant in a calendar event. A participant can be a person, group, room, or other resource.
You do not create EKParticipant
objects directly. Send attendees
to an EKEvent
object to get an array of EKParticipant
objects.
Use the properties in this class to get information about a participant.
name
property
participantRole
property
participantStatus
property
participantType
property
URL
property
For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.
The participant’s name. (read-only)
@property(readonly) NSString *name
EKParticipant.h
The participant’s role in the event. (read-only)
@property(readonly) EKParticipantRole participantRole
EKParticipant.h
The participant’s attendance status. (read-only)
@property(readonly) EKParticipantStatus participantStatus
EKParticipant.h
The participant’s type. (read-only)
@property(readonly) EKParticipantType participantType
EKParticipant.h
The URL representing this participant. (read-only)
@property(readonly) NSURL *URL
EKParticipant.h
Returns the address book record that represents the participant.
- (ABRecordRef)ABRecordWithAddressBook:(ABAddressBookRef)addressBook
The address book to search.
The address book record for the participant, or nil
if the record is not found.
This method searches for a record match based on the participant’s email address.
EKParticipant.h
Represents a participant’s role for an event.
typedef enum { EKParticipantRoleUnknown, EKParticipantRoleRequired, EKParticipantRoleOptional, EKParticipantRoleChair, EKParticipantRoleNonParticipant } EKParticipantRole;
EKParticipantRoleUnknown
The participant’s role is unknown.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantRoleRequired
The participant’s attendance is required.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantRoleOptional
The participant’s attendance is optional.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantRoleChair
The participant is the chair of the event.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantRoleNonParticipant
The participant does not have an active role in the event.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
Represents a participant’s attendance status for an event.
typedef enum { EKParticipantStatusUnknown, EKParticipantStatusPending, EKParticipantStatusAccepted, EKParticipantStatusDeclined, EKParticipantStatusTentative, EKParticipantStatusDelegated, EKParticipantStatusCompleted, EKParticipantStatusInProcess } EKParticipantStatus;
EKParticipantStatusUnknown
The participant’s attendance status is unknown.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusPending
The participant has yet to respond to the event.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusAccepted
The participant has accepted the event.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusDeclined
The participant has declined the event.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusTentative
The participant’s attendance status is tentative.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusDelegated
The participant has delegated attendance to another participant.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusCompleted
The participant’s event has completed.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantStatusInProcess
The participant’s event is currently in process.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
Represent’s a participant’s type.
typedef enum { EKParticipantTypeUnknown, EKParticipantTypePerson, EKParticipantTypeRoom, EKParticipantTypeResource, EKParticipantTypeGroup } EKParticipantType;
EKParticipantTypeUnknown
The participant’s type is unknown.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantTypePerson
The participant is a person.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantTypeRoom
The participant is a room.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantTypeResource
The participant is a resource.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
EKParticipantTypeGroup
The participant is a group.
Available in iOS 4.0 and later.
Declared in EKParticipant.h
.
Last updated: 2010-04-27