One Logo Pool Ball
HomeKit · IOS API REFERENCE

HMLocationEvent

class · iOS 9.0+ · SDK 27.1

class HMLocationEvent

Members (3)

init · iOS 9.0+

init

TypeScript
static init(region: _CoreLocation_CLRegion): HMLocationEvent
Swift declaration
init(region: CLRegion)
method · iOS 9.0+ · Deprecated in iOS 11.0

updateRegion

TypeScript
updateRegion(region: _CoreLocation_CLRegion, completion: ((arg0: (NativeError) | null) => void)): void
Swift declaration
func updateRegion(_ region: CLRegion, completionHandler completion: @escaping @Sendable ((any Error)?) -> Void)
get · iOS 9.0+

region

TypeScript
get region(): (_CoreLocation_CLRegion) | null
Swift declaration
var region: CLRegion? { get }

Skipped declarations

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

HMLocationEvent.init()

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

All HomeKit types →