HomeKit Namespace

Home automation framework.

Remarks

The HomeKit namespace, introduced in iOS 8, provides control and access of home automation devices.

Home automation with Home Kit relies on Apple's Home Automation Protocol. Home Kit allows applications to:

Classes

TypeReason
HMAccessoryA home automation accessory controllable by Home Kit.
HMAccessoryBrowserBrowses and discovers HomeKit.HMAccessory objects.
HMAccessoryBrowserDelegateDelegate object for HomeKit.HMAccessoryBrowser objects, provides methods called when accessories are discovered or removed.
HMAccessoryBrowserDelegate_ExtensionsExtension methods to the HomeKit.IHMAccessoryBrowserDelegate interface to support all the methods from the HomeKit.HMAccessoryBrowserDelegate protocol.
HMAccessoryBrowserEventArgsProvides data for the HomeKit.HMAccessoryBrowserEventArgs.DidFindNewAccessory and HomeKit.HMAccessoryBrowserEventArgs.DidRemoveNewAccessory events.
HMAccessoryDelegateDelegate object for HomeKit.HMAccessory objects, provides methods called when characteristics of the accessory change.
HMAccessoryDelegate_ExtensionsExtension methods to the HomeKit.IHMAccessoryDelegate interface to support all the methods from the HomeKit.HMAccessoryDelegate protocol.
HMAccessoryServiceUpdateCharacteristicEventArgsProvides data for the HomeKit.HMAccessoryServiceUpdateCharacteristicEventArgs.DidUpdateValueForCharacteristic event.
HMAccessoryUpdateEventArgsProvides data for the HomeKit.HMAccessoryUpdateEventArgs.DidUpdateAssociatedServiceType and HomeKit.HMAccessoryUpdateEventArgs.DidUpdateNameForService events.
HMActionAbstract base class for objects that perform actions within Home Kit.
HMActionSetAggregates HomeKit.HMAction objects and applies them as a single action.
HMCharacteristicA characteristic of a HomeKit.HMService that has a HomeKit.HMCharacteristics.Value.
HMCharacteristicMetadataMetadata of a HomeKit.HMCharacteristic such as the allowable range of the characteristic or the size of a step.
HMCharacteristicMetadataFormatEnumerates the data types that can represent characteristics.
HMCharacteristicMetadataUnitsEnumerates units of measure that might be associated with a HomeKit.HMCharacteristic.
HMCharacteristicPropertiesCommon capabilities of an HomeKit.HMCharacteristic, such as whether it's writable or supports events.
HMCharacteristicTypeEnumerates known types of HomeKit.HMCharacteristic.
HMCharacteristicValueDoorStateEnumerates the states that a door can be in.
HMCharacteristicValueHeatingCoolingEnumerates the states that an indoor climate control unit can be in.
HMCharacteristicValueLockMechanismEnumerates values that describe the last known action that was taken on a lock.
HMCharacteristicValueLockMechanismStateEnumerates the states that a lock can be in.
HMCharacteristicValueRotationDirectionEnumerates rotation directions.
HMCharacteristicValueTemperatureUnitEnumerates two common temperature measurement systems.
HMCharacteristicWriteActionAn HomeKit.HMAction that sets a value in a HomeKit.HMCharacteristic.
HMErrorEnumerates possible failures in Home Kit operations.
HMErrorsHolds the constant HomeKit.HMErrors.HMErrorDomain.
HMHomeAn object representing a single residence. The highest level "container" in Home Kit.
HMHomeAccessoryEventArgsProvides data for the HomeKit.HMHomeAccessoryEventArgs.DidAddAccessory, HomeKit.HMHomeAccessoryEventArgs.DidRemoveAccessory and HomeKit.HMHomeAccessoryEventArgs.DidUnblockAccessory events.
HMHomeActionSetEventArgsProvides data for the HomeKit.HMHomeActionSetEventArgs.DidAddActionSet, HomeKit.HMHomeActionSetEventArgs.DidRemoveActionSet, HomeKit.HMHomeActionSetEventArgs.DidUpdateActionsForActionSet and HomeKit.HMHomeActionSetEventArgs.DidUpdateNameForActionSet events.
HMHomeDelegateDelegate object for HomeKit.HMHome objects, providing methods that can be overridden to react to events relating to additions, subtractions, and updates of various Home Kit objects.
HMHomeDelegate_ExtensionsExtension methods to the HomeKit.IHMHomeDelegate interface to support all the methods from the HomeKit.HMHomeDelegate protocol.
HMHomeErrorAccessoryEventArgsProvides data for the HomeKit.HMHomeErrorAccessoryEventArgs.DidEncounterError event.
HMHomeManagerCollection of HomeKit.HMHome objects.
HMHomeManagerDelegateDelegate object for HomeKit.HMHomeManager objects, provides methods that can be overridden to react to HomeKit.HMHomes being added, removed, or set as the primary home.
HMHomeManagerDelegate_ExtensionsExtension methods to the HomeKit.IHMHomeManagerDelegate interface to support all the methods from the HomeKit.HMHomeManagerDelegate protocol.
HMHomeManagerEventArgsProvides data for the HomeKit.HMHomeManagerEventArgs.DidAddHome and HomeKit.HMHomeManagerEventArgs.DidRemoveHome events.
HMHomeRoomAccessoryEventArgsProvides data for the HomeKit.HMHomeRoomAccessoryEventArgs.DidUpdateRoom event.
HMHomeRoomEventArgsProvides data for the HomeKit.HMHomeRoomEventArgs.DidAddRoom, HomeKit.HMHomeRoomEventArgs.DidRemoveRoom and HomeKit.HMHomeRoomEventArgs.DidUpdateNameForRoom events.
HMHomeRoomZoneEventArgsProvides data for the HomeKit.HMHomeRoomZoneEventArgs.DidAddRoomToZone and HomeKit.HMHomeRoomZoneEventArgs.DidRemoveRoomFromZone events.
HMHomeServiceGroupEventArgsProvides data for the HomeKit.HMHomeServiceGroupEventArgs.DidAddServiceGroup, HomeKit.HMHomeServiceGroupEventArgs.DidRemoveServiceGroup and HomeKit.HMHomeServiceGroupEventArgs.DidUpdateNameForServiceGroup events.
HMHomeServiceServiceGroupEventArgsProvides data for the HomeKit.HMHomeServiceServiceGroupEventArgs.DidAddService, HomeKit.HMHomeServiceServiceGroupEventArgs.DidAddServiceToServiceGroup, HomeKit.HMHomeServiceServiceGroupEventArgs.DidRemoveService and HomeKit.HMHomeServiceServiceGroupEventArgs.DidRemoveServiceFromServiceGroup events.
HMHomeTriggerEventArgsProvides data for the HomeKit.HMHomeTriggerEventArgs.DidAddTrigger, HomeKit.HMHomeTriggerEventArgs.DidRemoveTrigger, HomeKit.HMHomeTriggerEventArgs.DidUpdateNameForTrigger and HomeKit.HMHomeTriggerEventArgs.DidUpdateTrigger events.
HMHomeUserEventArgsProvides data for the HomeKit.HMHomeUserEventArgs.DidAddUser and HomeKit.HMHomeUserEventArgs.DidRemoveUser events.
HMHomeZoneEventArgsProvides data for the HomeKit.HMHomeZoneEventArgs.DidAddZone, HomeKit.HMHomeZoneEventArgs.DidRemoveZone and HomeKit.HMHomeZoneEventArgs.DidUpdateNameForZone events.
HMRoomA room in a HomeKit.HMHome or HomeKit.HMZone.
HMServiceA named set of HomeKit.HMCharacteristics provided by an HomeKit.HMAccessory.
HMServiceGroupA collection of related HomeKit.HMService objects provided by an HomeKit.HMAccessory.
HMServiceTypeEnumerates known types of HomeKit.HMService.
HMTimerTriggerA HomeKit.HMTrigger that triggers in response to a possibly-recurring timer.
HMTriggerA base class for events (such as timers) that triggers one or HomeKit.HMActionSets.
HMUserClass that represents a person who can control HomeKit devices.
HMZoneA set of HomeKit.HKRooms.
IHMAccessoryBrowserDelegateInterface representing the required methods (if any) of the protocol HomeKit.HMAccessoryBrowserDelegate.
IHMAccessoryDelegateInterface representing the required methods (if any) of the protocol HomeKit.HMAccessoryDelegate.
IHMHomeDelegateInterface representing the required methods (if any) of the protocol HomeKit.HMHomeDelegate.
IHMHomeManagerDelegateInterface representing the required methods (if any) of the protocol HomeKit.HMHomeManagerDelegate.