Instance Method

initWithPresenceEventType:presenceUserType:

Creates a new presence event with the specified event and user presence types.

Declaration

- (instancetype)initWithPresenceEventType:(HMPresenceEventType)presenceEventType presenceUserType:(HMPresenceEventUserType)presenceUserType;

Parameters

presenceEventType

The event type that determines when the event fires.

presenceUserType

The user type whose presence triggers the event.

Return Value

An initialized presence event.