HomeKit Changes for Swift
HomeKit (Added)
Added HMAccessory
Added HMAccessory.category
Added HMAccessory.delegate
Added HMAccessory.isBlocked
Added HMAccessory.isBridged
Added HMAccessory.isReachable
Added HMAccessory.name
Added HMAccessory.room
Added HMAccessory.services
Added HMAccessoryCategory
Added HMAccessoryDelegate
Added HMAccessoryProfile
Added HMAction
Added HMActionSet
Added HMActionSet.actions
Added HMActionSet.isExecuting
Added HMActionSet.name
Added HMCameraAudioControl
Added HMCameraControl
Added HMCameraProfile
Added HMCameraSettingsControl
Added HMCameraSnapshot
Added HMCameraSnapshotControl
Added HMCameraSource
Added HMCameraStream
Added HMCameraStreamControl
Added HMCameraView
Added HMCharacteristic
Added HMCharacteristic.service
Added HMCharacteristic.value
Added HMCharacteristicEvent
Added HMCharacteristicMetadata
Added HMError [struct]
Added HMError.accessDenied
Added HMError.accessoryIsBusy
Added HMError.alreadyExists
Added HMError.dataResetFailure
Added HMError.deviceLocked
Added HMError.fireDateInPast
Added HMError.genericError
Added HMError.init(_nsError: NSError)
Added HMError.invalidClass
Added HMError.invalidParameter
Added HMError.invalidValueType
Added HMError.missingParameter
Added HMError.nilParameter
Added HMError.notFound
Added HMError.readWriteFailure
Added HMError.securityFailure
Added HMError.Code [enum]
Added HMError.Code.notFound
Added HMEvent
Added HMEvent.uniqueIdentifier
Added HMEventTrigger
Added HMEventTrigger.events
Added HMEventTrigger.predicate
Added HMEventTrigger.predicateForEvaluatingTrigger(occurringAfter: DateComponents) -> NSPredicate [class]
Added HMEventTrigger.predicateForEvaluatingTrigger(occurringBefore: DateComponents) -> NSPredicate [class]
Added HMEventTrigger.predicateForEvaluatingTrigger(occurringOn: DateComponents) -> NSPredicate [class]
Added HMHome
Added HMHome.accessories
Added HMHome.actionSets
Added HMHome.currentUser
Added HMHome.delegate
Added HMHome.isPrimary
Added HMHome.name
Added HMHome.rooms
Added HMHome.serviceGroups
Added HMHome.triggers
Added HMHome.uniqueIdentifier
Added HMHome.zones
Added HMHomeAccessControl
Added HMHomeDelegate
Added HMHomeManager
Added HMHomeManager.delegate
Added HMHomeManager.homes
Added HMHomeManagerDelegate
Added HMLocationEvent
Added HMLocationEvent.region
Added HMRoom
Added HMRoom.accessories
Added HMRoom.name
Added HMRoom.uniqueIdentifier
Added HMService
Added HMService.accessory
Added HMService.linkedServices
Added HMService.name
Added HMService.serviceType
Added HMServiceGroup
Added HMServiceGroup.name
Added HMServiceGroup.services
Added HMTimerTrigger
Added HMTimerTrigger.fireDate
Added HMTimerTrigger.timeZone
Added HMTrigger
Added HMTrigger.actionSets
Added HMTrigger.isEnabled
Added HMTrigger.lastFireDate
Added HMTrigger.name
Added HMUser
Added HMUser.name
Added HMUser.uniqueIdentifier
Added HMZone
Added HMZone.name
Added HMZone.rooms
Added HMZone.uniqueIdentifier
Added HMActionSetTypeSleep
Added HMActionSetTypeWakeUp
Added HMCharacteristicKeyPath
Added HMCharacteristicTypeHue
Added HMCharacteristicTypeLogs
Added HMCharacteristicTypeMute
Added HMCharacteristicTypeName
Added HMErrorDomain
Added HMServiceTypeBattery
Added HMServiceTypeDoor
Added HMServiceTypeDoorbell
Added HMServiceTypeFan
Added HMServiceTypeLeakSensor
Added HMServiceTypeLightbulb
Added HMServiceTypeLightSensor
Added HMServiceTypeMicrophone
Added HMServiceTypeOutlet
Added HMServiceTypeSmokeSensor
Added HMServiceTypeSpeaker
Added HMServiceTypeSwitch
Added HMServiceTypeThermostat
Added HMServiceTypeWindow
Added HMSignificantEventSunset