Initializer

init(presenceEventType:presenceUserType:)

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

Declaration

init(presenceEventType: HMPresenceEventType, presenceUserType: HMPresenceEventUserType)

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.