One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMDurationEvent

class · iOS 11.0+ · SDK 27.1

class HMDurationEvent

Members (2)

init · iOS 11.0+

init

TypeScript
static init(duration: number): HMDurationEvent
Swift declaration
init(duration: TimeInterval)
get · iOS 11.0+

duration

TypeScript
get duration(): number
Swift declaration
var duration: TimeInterval { get }

Skipped declarations

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

HMDurationEvent.init()

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

All HomeKit types →