One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMPresenceEvent

class · iOS 11.0+ · SDK 27.1

class HMPresenceEvent

Members (3)

init · iOS 11.0+

init

TypeScript
static init(presenceEventType: HMPresenceEventType, presenceUserType: HMPresenceEventUserType): HMPresenceEvent
Swift declaration
init(presenceEventType: HMPresenceEventType, presenceUserType: HMPresenceEventUserType)
get · iOS 11.0+

presenceEventType

TypeScript
get presenceEventType(): HMPresenceEventType
Swift declaration
var presenceEventType: HMPresenceEventType { get }
get · iOS 11.0+

presenceUserType

TypeScript
get presenceUserType(): HMPresenceEventUserType
Swift declaration
var presenceUserType: HMPresenceEventUserType { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

HMPresenceEvent.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All HomeKit types →