Instance Property

eventClass

The event class for the receiver.

Declaration

@property(readonly) AEEventClass eventClass;

Discussion

The event class (a four-character code) for the receiver, or 0 if an error occurs.

The receiver must be an Apple event. An Apple event is identified by its event class and event ID, a pair of four-character codes stored as 32-bit integers. For example, most events in the Standard suite have the four-character code 'core' (defined as the constant kAECoreSuite in AE.framework, a subframework of ApplicationServices.framework). For more information on event classes and event IDs, see Building an Apple Event in Apple Events Programming Guide.

See Also

Working With Apple Event Descriptors

- attributeDescriptorForKeyword:

Returns a descriptor for the receiver’s Apple event attribute identified by the specified keyword.

eventID

The event ID for the receiver.

- paramDescriptorForKeyword:

Returns a descriptor for the receiver’s Apple event parameter identified by the specified keyword.

- removeParamDescriptorWithKeyword:

Removes the receiver’s parameter descriptor identified by the specified keyword.

returnID

The receiver’s return ID (the ID for a reply Apple event).

- setAttributeDescriptor:forKeyword:

Adds a descriptor to the receiver as an attribute identified by the specified keyword.

- setParamDescriptor:forKeyword:

Adds a descriptor to the receiver as an Apple event parameter identified by the specified keyword.

transactionID

The receiver’s transaction ID, if any.