Crate objc2_home_kit

Crate objc2_home_kit 

Source
Expand description

§Bindings to the HomeKit framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

HMAccessControlHMAccessControl
The HMAccessControl class represents a generic access control.
HMAccessoryHMAccessory
Represent an accessory in the home.
HMAccessoryBrowserHMAccessoryBrowser
This class is used to discover new accessories in the home that have never been paired with and therefore not part of the home.
HMAccessoryCategoryHMAccessoryCategory
This class is used to represent an accessory category.
HMAccessoryOwnershipTokenHMAccessorySetupPayload
Apple’s documentation
HMAccessoryProfileHMAccessoryProfile
Represents a profile implemented by an accessory.
HMAccessorySetupManagerHMAccessorySetupManager
This class can be used to launch system UI that will allow the user to go through the process of adding one or more accessories to a particular home and follow up with additional setup. These APIs do not require that the current app has home data authorization
HMAccessorySetupPayloadHMAccessorySetupPayload
Apple’s documentation
HMAccessorySetupRequestHMAccessorySetupRequest
Apple’s documentation
HMAccessorySetupResultHMAccessorySetupResult
Apple’s documentation
HMActionHMAction
This class is used to represent a generic action.
HMActionSetHMActionSet
This class represents a collection of action objects that can be executed. The order of execution of these actions is undefined.
HMAddAccessoryRequestHMAddAccessoryRequest
Apple’s documentation
HMCalendarEventHMCalendarEvent and HMEvent and HMTimeEvent
A calendar event which fires at an absolute time. It can also be used to set up a recurring events which will fire at a scheduled time.
HMCameraAudioControlHMCameraAudioControl and HMCameraControl
Apple’s documentation
HMCameraAudioStreamSettingHMCameraDefines
This enumeration describes the setting for audio on the recipient of the camera stream.
HMCameraControlHMCameraControl
Represents a generic camera control.
HMCameraProfileHMAccessoryProfile and HMCameraProfile
Represents a camera profile the accessory implements.
HMCameraSettingsControlHMCameraControl and HMCameraSettingsControl
This class can be used to control the settings on a camera.
HMCameraSnapshotHMCameraSnapshot and HMCameraSource
Represents a camera snapshot.
HMCameraSnapshotControlHMCameraControl and HMCameraSnapshotControl
This class can be used to take an image snapshot from a camera.
HMCameraSourceHMCameraSource
Abstract class for source of data from a camera.
HMCameraStreamHMCameraSource and HMCameraStream
Represents a camera stream.
HMCameraStreamControlHMCameraControl and HMCameraStreamControl
This class can be used to control the stream from a camera.
HMCameraStreamStateHMCameraDefines
This enumeration describes the different states of a camera stream.
HMCameraViewHMCameraView and objc2-ui-kit
This view can render a camera source.
HMCharacteristicHMCharacteristic
Represent a characteristic on a service of an accessory.
HMCharacteristicEventHMCharacteristicEvent and HMEvent
This class represents an event that is evaluated based on the value of a characteristic set to a particular value.
HMCharacteristicMetadataHMCharacteristicMetadata
This class defines the metadata for a characteristic. Metadata provides further information about a characteristic’s value, which can be used for presentation purposes.
HMCharacteristicThresholdRangeEventHMCharacteristicThresholdRangeEvent and HMEvent
This class represents an event when a characteristic’s value falls within the specified number range.
HMCharacteristicValueActivationStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueAirParticulateSizeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueAirQualityHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueBatteryStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCarbonDioxideDetectionStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCarbonMonoxideDetectionStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueChargingStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueClosedCaptionsHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueConfigurationStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueContactStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentAirPurifierStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentFanStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentHeaterCoolerStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentHeatingCoolingHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentHumidifierDehumidifierStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentMediaStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentSecuritySystemStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentSlatStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueCurrentVisibilityStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueDoorStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueFilterChangeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueHeatingCoolingHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueInputDeviceTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueInputEventHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueInputSourceTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueJammedStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueLabelNamespaceHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueLeakStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueLockMechanismLastKnownActionHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueLockMechanismStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueLockPhysicalControlsStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueOccupancyStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValuePictureModeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValuePositionStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValuePowerModeSelectionHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueProgramModeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueRemoteKeyHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueRotationDirectionHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueRouterStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueSecuritySystemAlarmTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueSlatTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueSmokeDetectionStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueStatusFaultHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueSwingModeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTamperedStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetAirPurifierStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetDoorStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetFanStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetHeaterCoolerStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetHumidifierDehumidifierStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetLockMechanismStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetMediaStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetSecuritySystemStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTargetVisibilityStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueTemperatureUnitHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueUsageStateHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueValveTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueVolumeControlTypeHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueVolumeSelectorHMCharacteristicDefines
Apple’s documentation
HMCharacteristicValueWiFiSatelliteStatusHMCharacteristicDefines
Apple’s documentation
HMCharacteristicWriteActionHMAction and HMCharacteristicWriteAction
This class is used to represent an entry in an action set that writes a specific value to a characteristic.
HMDurationEventHMDurationEvent and HMEvent and HMTimeEvent
This class is used to represent a duration of time.
HMErrorCodeHMError
This enumeration describes the possible error constants that can be returned from the the HomeKit APIs.
HMEventHMEvent
This class is used to represent a generic HomeKit event.
HMEventTriggerHMEventTrigger and HMTrigger
Triggers based on events.
HMEventTriggerActivationStateHMEventTriggerActivationState
This enumeration describes the current activation state of the event trigger.
HMHomeHMHome
Represents a home.
HMHomeAccessControlHMAccessControl and HMHomeAccessControl
Represents the access control of a user associated with a home.
HMHomeHubStateHMHome
Apple’s documentation
HMHomeManagerHMHomeManager
Manages collection of one or more homes.
HMHomeManagerAuthorizationStatusHMHomeManager
The home data authorization status of the client process.
HMLocationEventHMEvent and HMLocationEvent
This class represents an event that is evaluated based on entry to and/or exit from a Region
HMMutableCalendarEventHMCalendarEvent and HMEvent and HMTimeEvent
This class is used to represent a calendar event.
HMMutableCharacteristicEventHMCharacteristicEvent and HMEvent
This class represents an event that is evaluated based on the value of a characteristic set to a particular value.
HMMutableCharacteristicThresholdRangeEventHMCharacteristicThresholdRangeEvent and HMEvent
This class represents an event when a characteristic’s value falls within the specified number range.
HMMutableDurationEventHMDurationEvent and HMEvent and HMTimeEvent
This class is used to represent a duration of time.
HMMutableLocationEventHMEvent and HMLocationEvent
This class represents an event that is evaluated based on entry to and/or exit from a Region
HMMutablePresenceEventHMEvent and HMPresenceEvent
This class is used to represent the presence of users in a home.
HMMutableSignificantTimeEventHMEvent and HMSignificantTimeEvent and HMTimeEvent
This class is used to represent a significant time event.
HMNetworkConfigurationProfileHMAccessoryProfile and HMNetworkConfigurationProfile
Apple’s documentation
HMNumberRangeHMNumberRange
This class describes a range of numbers: [min, max]
HMPresenceEventHMEvent and HMPresenceEvent
This class is used to represent the presence of users in a home.
HMPresenceEventTypeHMPresenceEventDefines
This enumeration describes the different types of presence events.
HMPresenceEventUserTypeHMPresenceEventDefines
This enumeration describes the different types of user sets in presence events.
HMRoomHMRoom
This class describes a room in the home.
HMServiceHMService
Represents a service provided by an accessory.
HMServiceGroupHMServiceGroup
Used to describe a collection of HMService objects
HMSignificantTimeEventHMEvent and HMSignificantTimeEvent and HMTimeEvent
This class is used to represent a significant time event.
HMTimeEventHMEvent and HMTimeEvent
This class is used to represent a generic time event.
HMTimerTriggerHMTimerTrigger and HMTrigger
Timer based trigger.
HMTriggerHMTrigger
Represents a trigger event.
HMUserHMUser
This class describes a user in the home.
HMZoneHMZone
Used to describe a collection of HMRoom objects

Statics§

HMAccessoryCategoryTypeAirConditionerHMAccessoryCategoryTypes
Category type for Air Conditioner.
HMAccessoryCategoryTypeAirDehumidifierHMAccessoryCategoryTypes
Category type for Air Dehumidifier.
HMAccessoryCategoryTypeAirHeaterHMAccessoryCategoryTypes
Category type for Air Heater.
HMAccessoryCategoryTypeAirHumidifierHMAccessoryCategoryTypes
Category type for Air Humidifier.
HMAccessoryCategoryTypeAirPortHMAccessoryCategoryTypes
Category type for AirPort accessories.
HMAccessoryCategoryTypeAirPurifierHMAccessoryCategoryTypes
Category type for Air Purifier.
HMAccessoryCategoryTypeAudioReceiverHMAccessoryCategoryTypes
Category type for an audio receiver that supports HAP and AirPlay2.
HMAccessoryCategoryTypeBridgeHMAccessoryCategoryTypes
Category type for Bridge.
HMAccessoryCategoryTypeDoorHMAccessoryCategoryTypes
Category type for Door.
HMAccessoryCategoryTypeDoorLockHMAccessoryCategoryTypes
Category type for Door Lock.
HMAccessoryCategoryTypeFanHMAccessoryCategoryTypes
Category type for Fan.
HMAccessoryCategoryTypeFaucetHMAccessoryCategoryTypes
Category type for Faucet.
HMAccessoryCategoryTypeGarageDoorOpenerHMAccessoryCategoryTypes
Category type for Garage Door Opener.
HMAccessoryCategoryTypeIPCameraHMAccessoryCategoryTypes
Apple’s documentation
HMAccessoryCategoryTypeLightbulbHMAccessoryCategoryTypes
Category type for Lightbulb.
HMAccessoryCategoryTypeOtherHMAccessoryCategoryTypes
Category type for Other.
HMAccessoryCategoryTypeOutletHMAccessoryCategoryTypes
Category type for Outlet.
HMAccessoryCategoryTypeProgrammableSwitchHMAccessoryCategoryTypes
Category type for Programmable Switch.
HMAccessoryCategoryTypeRangeExtenderHMAccessoryCategoryTypes
Category type for Range Extender
HMAccessoryCategoryTypeSecuritySystemHMAccessoryCategoryTypes
Category type for Security System.
HMAccessoryCategoryTypeSensorHMAccessoryCategoryTypes
Category type for Sensor.
HMAccessoryCategoryTypeShowerHeadHMAccessoryCategoryTypes
Category type for Shower Head.
HMAccessoryCategoryTypeSpeakerHMAccessoryCategoryTypes
Category type for Speakers.
HMAccessoryCategoryTypeSprinklerHMAccessoryCategoryTypes
Category type for Sprinkler.
HMAccessoryCategoryTypeSwitchHMAccessoryCategoryTypes
Category type for Switch.
HMAccessoryCategoryTypeTelevisionHMAccessoryCategoryTypes
Category type for Television.
HMAccessoryCategoryTypeTelevisionSetTopBoxHMAccessoryCategoryTypes
Category type for Television Set Top Box.
HMAccessoryCategoryTypeTelevisionStreamingStickHMAccessoryCategoryTypes
Category type for Television Streaming Stick.
HMAccessoryCategoryTypeThermostatHMAccessoryCategoryTypes
Category type for Thermostat.
HMAccessoryCategoryTypeVideoDoorbellHMAccessoryCategoryTypes
Category type for Video Doorbell.
HMAccessoryCategoryTypeWiFiRouterHMAccessoryCategoryTypes
Category type for Wi-Fi Router.
HMAccessoryCategoryTypeWindowHMAccessoryCategoryTypes
Category type for Window.
HMAccessoryCategoryTypeWindowCoveringHMAccessoryCategoryTypes
Category type for Window Covering.
HMActionSetTypeHomeArrivalHMActionSet
Type for builtin action set HomeArrival.
HMActionSetTypeHomeDepartureHMActionSet
Type for builtin action set HomeDeparture.
HMActionSetTypeSleepHMActionSet
Type for builtin action set Sleep.
HMActionSetTypeTriggerOwnedHMActionSet
Type for trigger-owned action sets.
HMActionSetTypeUserDefinedHMActionSet
Type for user-defined action sets.
HMActionSetTypeWakeUpHMActionSet
Builtin action set type for WakeUp.
HMCharacteristicKeyPathHMEventTrigger
Specifies the key path for a characteristic in a NSPredicate
HMCharacteristicMetadataFormatArrayHMCharacteristicMetadata
Describes that the value format is an array.
HMCharacteristicMetadataFormatBoolHMCharacteristicMetadata
Describes that the value format is boolean.
HMCharacteristicMetadataFormatDataHMCharacteristicMetadata
Describes that the value format is a data blob.
HMCharacteristicMetadataFormatDictionaryHMCharacteristicMetadata
Describes that the value format is a dictionary.
HMCharacteristicMetadataFormatFloatHMCharacteristicMetadata
Describes that the value format is a float.
HMCharacteristicMetadataFormatIntHMCharacteristicMetadata
Describes that the value format is an integer.
HMCharacteristicMetadataFormatStringHMCharacteristicMetadata
Describes that the value format is a string.
HMCharacteristicMetadataFormatTLV8HMCharacteristicMetadata
Describes that the value format is a TLV8.
HMCharacteristicMetadataFormatUInt8HMCharacteristicMetadata
Describes that the value format is an unsigned 8-bit integer.
HMCharacteristicMetadataFormatUInt16HMCharacteristicMetadata
Describes that the value format is an unsigned 16-bit integer.
HMCharacteristicMetadataFormatUInt32HMCharacteristicMetadata
Describes that the value format is an unsigned 32-bit integer.
HMCharacteristicMetadataFormatUInt64HMCharacteristicMetadata
Describes that the value format is an unsigned 64-bit integer.
HMCharacteristicMetadataUnitsArcDegreeHMCharacteristicMetadata
Describes that the unit of the characteristic is arc degree.
HMCharacteristicMetadataUnitsCelsiusHMCharacteristicMetadata
Describes that the unit of the characteristic is in Celsius.
HMCharacteristicMetadataUnitsFahrenheitHMCharacteristicMetadata
Describes that the unit of the characteristic is in Fahrenheit.
HMCharacteristicMetadataUnitsLuxHMCharacteristicMetadata
Describes that the unit of the characteristic is Lux (illuminance).
HMCharacteristicMetadataUnitsMicrogramsPerCubicMeterHMCharacteristicMetadata
Describes that the unit of the characteristic is micrograms per cubic meter.
HMCharacteristicMetadataUnitsPartsPerMillionHMCharacteristicMetadata
Describes that the unit of the characteristic is parts per million.
HMCharacteristicMetadataUnitsPercentageHMCharacteristicMetadata
Describes that the unit of the characteristic is a percentage.
HMCharacteristicMetadataUnitsSecondsHMCharacteristicMetadata
Describes that the unit of the characteristic is seconds.
HMCharacteristicPropertyHiddenHMCharacteristicTypes
This constant specifies that the characteristic should be hidden from the user.
HMCharacteristicPropertyReadableHMCharacteristicTypes
This constant specifies that the characteristic is readable.
HMCharacteristicPropertyRequiresAuthorizationDataHMCharacteristicTypes
This constant specifies that the characteristic requires authorization data for a write.
HMCharacteristicPropertySupportsEventNotificationHMCharacteristicTypes
This constant specifies that the characteristic supports notifications using the event connection established by the controller. The event connection provides unidirectional communication from the accessory to the controller.
HMCharacteristicPropertyWritableHMCharacteristicTypes
This constant specifies that the characteristic is writable.
HMCharacteristicTypeActiveHMCharacteristicTypes
Characteristic type for active. The value of the characteristic is one of the values defined for HMCharacteristicValueActivationState.
HMCharacteristicTypeActiveIdentifierHMCharacteristicTypes
Characteristic type for active identifier. The value of the characteristic is a uint32.
HMCharacteristicTypeAdminOnlyAccessHMCharacteristicTypes
Characteristic type for admin only access. The value of the characteristic is a boolean.
HMCharacteristicTypeAirParticulateDensityHMCharacteristicTypes
Characteristic type for density of air-particulate matter. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypeAirParticulateSizeHMCharacteristicTypes
Characteristic type for size of air-particulate matter. The value of the characteristic is one of the values defined for HMCharacteristicValueAirParticulateSize.
HMCharacteristicTypeAirQualityHMCharacteristicTypes
Characteristic type for air quality. The value of the characteristic is one of the values defined for HMCharacteristicValueAirQuality.
HMCharacteristicTypeAudioFeedbackHMCharacteristicTypes
Characteristic type for audio feedback. The value of the characteristic is a boolean.
HMCharacteristicTypeBatteryLevelHMCharacteristicTypes
Characteristic type for battery level. The value of the characteristic is a uint8 value in percent.
HMCharacteristicTypeBrightnessHMCharacteristicTypes
Characteristic type for brightness. The value of the characteristic is an int value in percent.
HMCharacteristicTypeCarbonDioxideDetectedHMCharacteristicTypes
Characteristic type for carbon dioxide detected. The value of the characteristic is a uint8 value. A value of 0 indicates carbon dioxide levels are normal.
HMCharacteristicTypeCarbonDioxideLevelHMCharacteristicTypes
Characteristic type for carbon dioxide level. The value of the characteristic is a float value in units of ppm.
HMCharacteristicTypeCarbonDioxidePeakLevelHMCharacteristicTypes
Characteristic type for carbon dioxide peak level. The value of the characteristic is a float value in units of ppm.
HMCharacteristicTypeCarbonMonoxideDetectedHMCharacteristicTypes
Characteristic type for carbon monoxide detected. The value of the characteristic is a uint8 value. A value of 0 indicates carbon monoxide levels are normal.
HMCharacteristicTypeCarbonMonoxideLevelHMCharacteristicTypes
Characteristic type for carbon monoxide level. The value of the characteristic is a float value in units of ppm.
HMCharacteristicTypeCarbonMonoxidePeakLevelHMCharacteristicTypes
Characteristic type for carbon monoxide peak level. The value of the characteristic is a float value in units of ppm.
HMCharacteristicTypeChargingStateHMCharacteristicTypes
Characteristic type for charging state. The value of the characteristic is one of the values defined for HMCharacteristicValueChargingState.
HMCharacteristicTypeClosedCaptionsHMCharacteristicTypes
Characteristic type for closed captions. The value of the characteristic is one of the values defined for HMCharacteristicValueClosedCaptions.
HMCharacteristicTypeColorTemperatureHMCharacteristicTypes
Characteristic type for color temperature. The value of the characteristic is an int.
HMCharacteristicTypeConfiguredNameHMCharacteristicTypes
Characteristic type for configured name. The value of the characteristic is a string.
HMCharacteristicTypeContactStateHMCharacteristicTypes
Characteristic type for Contact sensor state. The value of the characteristic is a uint8 value. A value of 0 indicates that contact is detected; a value of 1 indicates no contact is detected.
HMCharacteristicTypeCoolingThresholdHMCharacteristicTypes
Characteristic type for cooling threshold. The value of the characteristic is a float value in Celsius.
HMCharacteristicTypeCurrentAirPurifierStateHMCharacteristicTypes
Characteristic type for air purifier current state. The value is one of the value defined for HMCharacteristicValueCurrentAirPurifierState.
HMCharacteristicTypeCurrentDoorStateHMCharacteristicTypes
Characteristic type for current door state. The value of the characteristic is one of the values defined for HMCharacteristicValueDoorState.
HMCharacteristicTypeCurrentFanStateHMCharacteristicTypes
Characteristic type for current fan state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentFanState.
HMCharacteristicTypeCurrentHeaterCoolerStateHMCharacteristicTypes
Characteristic type for current heater-cooler state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentHeaterCoolerState.
HMCharacteristicTypeCurrentHeatingCoolingHMCharacteristicTypes
Characteristic type for current heating/cooling. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentHeatingCooling.
HMCharacteristicTypeCurrentHorizontalTiltHMCharacteristicTypes
Characteristic type for current horizontal tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeCurrentHumidifierDehumidifierStateHMCharacteristicTypes
Characteristic type for current humidifier-dehumidifier state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentHumidifierDehumidifierState.
HMCharacteristicTypeCurrentLightLevelHMCharacteristicTypes
Characteristic type for current light level. The value of the characteristic is a float value in lux.
HMCharacteristicTypeCurrentLockMechanismStateHMCharacteristicTypes
Characteristic type for current lock mechanism state. The value of the characteristic is one of the values defined for HMCharacteristicValueLockMechanismState.
HMCharacteristicTypeCurrentMediaStateHMCharacteristicTypes
Characteristic type for current media state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentMediaState.
HMCharacteristicTypeCurrentPositionHMCharacteristicTypes
Characteristic type for current position of a door/window. The value of the characteristic is an uint8 value in percent. A value of 0 indicates closed/most shade/least light allowed state and a value of 100 indicates open/no shade/most light allowed state.
HMCharacteristicTypeCurrentRelativeHumidityHMCharacteristicTypes
Characteristic type for current relative humidity. The value of the characteristic is a float value in percent.
HMCharacteristicTypeCurrentSecuritySystemStateHMCharacteristicTypes
Characteristic type for current security system state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentSecuritySystemState.
HMCharacteristicTypeCurrentSlatStateHMCharacteristicTypes
Characteristic type for current slat state. The value is one of the values defined for HMCharacteristicValueCurrentSlatState.
HMCharacteristicTypeCurrentTemperatureHMCharacteristicTypes
Characteristic type for current temperature. The value of the characteristic is a float value in Celsius.
HMCharacteristicTypeCurrentTiltHMCharacteristicTypes
Characteristic type for current tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeCurrentVerticalTiltHMCharacteristicTypes
Characteristic type for current vertical tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeCurrentVisibilityStateHMCharacteristicTypes
Characteristic type for current visibility state. The value of the characteristic is one of the values defined for HMCharacteristicValueCurrentVisibilityState.
HMCharacteristicTypeDehumidifierThresholdHMCharacteristicTypes
Characteristic type for dehumidifier threshold. The value of the characteristic is a float value in percent.
HMCharacteristicTypeDigitalZoomHMCharacteristicTypes
Characteristic type for camera digital zoom. The value is float.
HMCharacteristicTypeFilterChangeIndicationHMCharacteristicTypes
Characteristic type for filter change indication. The value is one of the values defined for HMCharacteristicValueFilterChange.
HMCharacteristicTypeFilterLifeLevelHMCharacteristicTypes
Characteristic type for filter life level. The value is in percentage units.
HMCharacteristicTypeFilterResetChangeIndicationHMCharacteristicTypes
Characteristic type for resetting filter change indication. The characteristic is write-only that takes a boolean value of 1.
HMCharacteristicTypeFirmwareVersionDeprecatedHMCharacteristicTypes
Characteristic type for firmware version. The value of the characteristic is a string.
HMCharacteristicTypeHardwareVersionHMCharacteristicTypes
Characteristic type for hardware version. The value of the characteristic is a string.
HMCharacteristicTypeHeatingThresholdHMCharacteristicTypes
Characteristic type for heating threshold. The value of the characteristic is a float value in Celsius.
HMCharacteristicTypeHoldPositionHMCharacteristicTypes
Characteristic type for Hold Position. The value of the characteristic is a boolean indicating that the current position should be held/maintained.
HMCharacteristicTypeHueHMCharacteristicTypes
Characteristic type for hue. The value of the characteristic is a float value in arc degrees.
HMCharacteristicTypeHumidifierThresholdHMCharacteristicTypes
Characteristic type for humidifier threshold. The value of the characteristic is a float value in percent.
HMCharacteristicTypeIdentifierHMCharacteristicTypes
Characteristic type for identifier. The value of the characteristic is a uint32.
HMCharacteristicTypeIdentifyHMCharacteristicTypes
Characteristic type for identify. The value of the characteristic is a boolean.
HMCharacteristicTypeImageMirroringHMCharacteristicTypes
Characteristic type for image mirroring. The value is boolean.
HMCharacteristicTypeImageRotationHMCharacteristicTypes
Characteristic type for camera image rotation. The value is float with valid values: 0, 90, 180 and 270
HMCharacteristicTypeInUseHMCharacteristicTypes
Characteristic type for in use. The value of the characteristic is one of the values defined for HMCharacteristicValueUsageState.
HMCharacteristicTypeInputDeviceTypeHMCharacteristicTypes
Characteristic type for input device type. The value of the characteristic is one of the values defined for HMCharacteristicValueInputDeviceType.
HMCharacteristicTypeInputEventHMCharacteristicTypes
Characteristic type for input event. The value of the characteristic is one of the values defined for HMCharacteristicValueInputEvent.
HMCharacteristicTypeInputSourceTypeHMCharacteristicTypes
Characteristic type for input source type. The value of the characteristic is one of the values defined for HMCharacteristicValueInputSourceType.
HMCharacteristicTypeIsConfiguredHMCharacteristicTypes
Characteristic type for is configured. The value of the characteristic is one of the values defined for HMCharacteristicValueConfigurationState.
HMCharacteristicTypeLabelIndexHMCharacteristicTypes
Characteristic type describing the index of the label for the service on accessory with multiple instances of the same service. The value is an integer and starts from 1. For a label namespace of HMCharacteristicValueLabelNamespaceDot, label index indicates the number of dots - ., .., …, and so on. For a label namespace of HMCharacteristicValueLabelNamespaceNumeral, label index indicates the arabic numeral - 1, 2, 3, and so on.
HMCharacteristicTypeLabelNamespaceHMCharacteristicTypes
Characteristic type for label namespace used to label the services on an accessory with multiple services of the same type. The value of the characteristic is one of the values defined for HMCharacteristicValueLabelNamespace.
HMCharacteristicTypeLeakDetectedHMCharacteristicTypes
Characteristic type for leak detected. The value of the characteristic is a uint8 value. A value of 0 indicates no leak is detected; a value of 1 indicates that a leak is detected.
HMCharacteristicTypeLockManagementAutoSecureTimeoutHMCharacteristicTypes
Characteristic type for the auto secure timeout for lock management. The value of the characteristic is an unsigned 32-bit integer representing the number of seconds.
HMCharacteristicTypeLockManagementControlPointHMCharacteristicTypes
Characteristic type for the control point for lock management. The characteristic is write-only that takes TLV8 data wrapped in an NSData.
HMCharacteristicTypeLockMechanismLastKnownActionHMCharacteristicTypes
Characteristic type for the last known action for a lock mechanism. The value of the characteristic is one of the values defined for HMCharacteristicValueLockMechanismLastKnownAction.
HMCharacteristicTypeLockPhysicalControlsHMCharacteristicTypes
Characteristic type for lock physical controls. The value of the characteristic is one of the values defined for HMCharacteristicValueLockPhysicalControlsState.
HMCharacteristicTypeLogsHMCharacteristicTypes
Characteristic type for logs. The value of the characteristic is TLV8 data wrapped in an NSData.
HMCharacteristicTypeManufacturerDeprecatedHMCharacteristicTypes
Characteristic type for manufacturer. The value of the characteristic is a string.
HMCharacteristicTypeModelDeprecatedHMCharacteristicTypes
Characteristic type for model. The value of the characteristic is a string.
HMCharacteristicTypeMotionDetectedHMCharacteristicTypes
Characteristic type for motion detected. The value of the characteristic is a boolean.
HMCharacteristicTypeMuteHMCharacteristicTypes
Characteristic type for mute. The value of the characteristic is a boolean.
HMCharacteristicTypeNameHMCharacteristicTypes
Characteristic type for name. The value of the characteristic is a string.
HMCharacteristicTypeNightVisionHMCharacteristicTypes
Characteristic type for night vision. The value of the characteristic is a boolean.
HMCharacteristicTypeNitrogenDioxideDensityHMCharacteristicTypes
Characteristic type for density of nitrogen dioxide. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypeObstructionDetectedHMCharacteristicTypes
Characteristic type for obstruction detected. The value of the characteristic is a boolean.
HMCharacteristicTypeOccupancyDetectedHMCharacteristicTypes
Characteristic type for Occupancy Detected. The value of the characteristic is a uint8 value. A value of 0 indicates no occupancy is detected; a value of 1 indicates that occupancy is detected.
HMCharacteristicTypeOpticalZoomHMCharacteristicTypes
Characteristic type for camera optical zoom. The value is float.
HMCharacteristicTypeOutletInUseHMCharacteristicTypes
Characteristic type for outlet in use. The value of the characteristic is a boolean, which is true if the outlet is in use.
HMCharacteristicTypeOutputStateHMCharacteristicTypes
Characteristic type for programmable switch output state. This value is to be used for presentation purposes. For a binary programmable switch, a value of 1 can be used to present a state of ON.
HMCharacteristicTypeOzoneDensityHMCharacteristicTypes
Characteristic type for density of ozone. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypePM2_5DensityHMCharacteristicTypes
Characteristic type for density of air-particulate matter of size 2.5 micrograms. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypePM10DensityHMCharacteristicTypes
Characteristic type for density of air-particulate matter of size 10 micrograms. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypePictureModeHMCharacteristicTypes
Characteristic type for picture mode. The value of the characteristic is one of the values defined for HMCharacteristicValuePictureMode.
HMCharacteristicTypePositionStateHMCharacteristicTypes
Characteristic type for Position state. The value of the characteristic is one of the one of the values defined for HMCharacteristicValuePositionState.
HMCharacteristicTypePowerModeSelectionHMCharacteristicTypes
Characteristic type for power mode selection. The value of the characteristic is one of the values defined for HMCharacteristicValuePowerModeSelection.
HMCharacteristicTypePowerStateHMCharacteristicTypes
Characteristic type for power state. The value of the characteristic is a boolean.
HMCharacteristicTypeProgramModeHMCharacteristicTypes
Characteristic type for program mode. The value of the characteristic is one of the values defined for HMCharacteristicValueProgramMode.
HMCharacteristicTypeRemainingDurationHMCharacteristicTypes
Characteristic type for remaining duration. The value of the characteristic is an int value in seconds.
HMCharacteristicTypeRemoteKeyHMCharacteristicTypes
Characteristic type for remote key. The value of the characteristic is one of the values defined for HMCharacteristicValueRemoteKey.
HMCharacteristicTypeRotationDirectionHMCharacteristicTypes
Characteristic type for rotation direction. The value of the characteristic is one of the values defined for HMCharacteristicValueRotationDirection.
HMCharacteristicTypeRotationSpeedHMCharacteristicTypes
Characteristic type for rotation speed. The value of the characteristic is a float.
HMCharacteristicTypeRouterStatusHMCharacteristicTypes
Characteristic type for router status. The value of the characteristic is one of the values defined for HMCharacteristicValueRouterStatus.
HMCharacteristicTypeSaturationHMCharacteristicTypes
Characteristic type for saturation. The value of the characteristic is a float value in percent.
HMCharacteristicTypeSecuritySystemAlarmTypeHMCharacteristicTypes
Characteristic type for Security System Alarm Type. The value of the characteristic is a uint8. indicating the type of alarm triggered by a security system service. This characteristic has a value of 1 when the alarm type is not known and a value of 0 indicates that the alarm conditions are cleared.
HMCharacteristicTypeSelectedStreamConfigurationHMCharacteristicTypes
Characteristic type for selected stream configuration. The value is a tlv8 data.
HMCharacteristicTypeSerialNumberDeprecatedHMCharacteristicTypes
Characteristic type for serial number. The value of the characteristic is a string.
HMCharacteristicTypeSetDurationHMCharacteristicTypes
Characteristic type for set duration. The value of the characteristic is an int value in seconds.
HMCharacteristicTypeSetupStreamEndpointHMCharacteristicTypes
Characteristic type for setup stream endpoint. The value is a tlv8 data.
HMCharacteristicTypeSlatTypeHMCharacteristicTypes
Characteristic type for slat type. The value is one of the values defined for HMCharacteristicValueSlatType.
HMCharacteristicTypeSmokeDetectedHMCharacteristicTypes
Characteristic type for smoke detected. The value of the characteristic is one of the values defined for HMCharacteristicValueSmokeDetectionStatus.
HMCharacteristicTypeSoftwareVersionHMCharacteristicTypes
Characteristic type for software version. The value of the characteristic is a string.
HMCharacteristicTypeStatusActiveHMCharacteristicTypes
Characteristic type to indicate status of a service is active. The value of the characteristic is a boolean.
HMCharacteristicTypeStatusFaultHMCharacteristicTypes
Characteristic type to indicate status of a service is fault. The value of the characteristic is a uint8 value.
HMCharacteristicTypeStatusJammedHMCharacteristicTypes
Characteristic type to indicate status of a service is jammed. The value of the characteristic is a uint8 value. A value of 0 indicates that the service is not jammed; a value of 1 indicates that the service is jammed.
HMCharacteristicTypeStatusLowBatteryHMCharacteristicTypes
Characteristic type for status low battery. The value of the characteristic is one of the values defined for HMCharacteristicValueBatteryStatus.
HMCharacteristicTypeStatusTamperedHMCharacteristicTypes
Characteristic type to indicate status of a service is tampered. The value of the characteristic is a uint8 value. A value of 0 indicates no tampering has been detected; a value of 1 indicates that a tampering has been detected.
HMCharacteristicTypeStreamingStatusHMCharacteristicTypes
Characteristic type for streaming status. The value is a tlv8 data.
HMCharacteristicTypeSulphurDioxideDensityHMCharacteristicTypes
Characteristic type for density of sulphur dioxide. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypeSupportedAudioStreamConfigurationHMCharacteristicTypes
Characteristic type for supported audio stream configuration. The value of the characteristic is TLV8 encoded data.
HMCharacteristicTypeSupportedRTPConfigurationHMCharacteristicTypes
Characteristic type for supported RTP stream configuration. The value is a tlv8 data.
HMCharacteristicTypeSupportedVideoStreamConfigurationHMCharacteristicTypes
Characteristic type for supported video stream configuration. The value is a tlv8 data.
HMCharacteristicTypeSwingModeHMCharacteristicTypes
Characteristic type for swing mode. The value of the characteristic is one of the values defined for HMCharacteristicValueSwingMode.
HMCharacteristicTypeTargetAirPurifierStateHMCharacteristicTypes
Characteristic type for air purifier target state. The value is one of the value defined for HMCharacteristicValueTargetAirPurifierState.
HMCharacteristicTypeTargetDoorStateHMCharacteristicTypes
Characteristic type for target door state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetDoorState.
HMCharacteristicTypeTargetFanStateHMCharacteristicTypes
Characteristic type for target fan state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetFanState.
HMCharacteristicTypeTargetHeaterCoolerStateHMCharacteristicTypes
Characteristic type for target heater-cooler state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetHeaterCoolerState.
HMCharacteristicTypeTargetHeatingCoolingHMCharacteristicTypes
Characteristic type for target heating/cooling. The value of the characteristic is one of the values defined for HMCharacteristicValueHeatingCooling.
HMCharacteristicTypeTargetHorizontalTiltHMCharacteristicTypes
Characteristic type for target horizontal tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeTargetHumidifierDehumidifierStateHMCharacteristicTypes
Characteristic type for target humidifier-dehumidifier state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetHumidifierDehumidifierState.
HMCharacteristicTypeTargetLockMechanismStateHMCharacteristicTypes
Characteristic type for target lock mechanism state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetLockMechanismState.
HMCharacteristicTypeTargetMediaStateHMCharacteristicTypes
Characteristic type for target media state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetMediaState.
HMCharacteristicTypeTargetPositionHMCharacteristicTypes
Characteristic type for target position of a door/window/window covering. The value of the characteristic is an uint8 value in percent. A value of 0 indicates closed/most shade/least light allowed state and a value of 100 indicates open/no shade/most light allowed state.
HMCharacteristicTypeTargetRelativeHumidityHMCharacteristicTypes
Characteristic type for target relative humidity. The value of the characteristic is a float value in percent.
HMCharacteristicTypeTargetSecuritySystemStateHMCharacteristicTypes
Characteristic type for target security system state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetSecuritySystemState.
HMCharacteristicTypeTargetTemperatureHMCharacteristicTypes
Characteristic type for target temperature. The value of the characteristic is a float value in Celsius.
HMCharacteristicTypeTargetTiltHMCharacteristicTypes
Characteristic type for target tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeTargetVerticalTiltHMCharacteristicTypes
Characteristic type for target vertical tilt angle. The value is a float representing the angle in arc degrees.
HMCharacteristicTypeTargetVisibilityStateHMCharacteristicTypes
Characteristic type for target visibility state. The value of the characteristic is one of the values defined for HMCharacteristicValueTargetVisibilityState.
HMCharacteristicTypeTemperatureUnitsHMCharacteristicTypes
Characteristic type for temperature units. The value of the characteristic is one of the values defined for HMCharacteristicValueTemperatureUnit.
HMCharacteristicTypeValveTypeHMCharacteristicTypes
Characteristic type for valve type. The value of the characteristic is one of the values defined for HMCharacteristicValueValveType.
HMCharacteristicTypeVersionHMCharacteristicTypes
Characteristic type for version. The value of the characteristic is a string.
HMCharacteristicTypeVolatileOrganicCompoundDensityHMCharacteristicTypes
Characteristic type for density of volatile organic compounds. The value of the characteristic is in units of micrograms/m^3.
HMCharacteristicTypeVolumeHMCharacteristicTypes
Characteristic type for volume. The value of the characteristic is a uint8 value in percent.
HMCharacteristicTypeVolumeControlTypeHMCharacteristicTypes
Characteristic type for volume control type. The value of the characteristic is one of the values defined for HMCharacteristicValueVolumeControlType.
HMCharacteristicTypeVolumeSelectorHMCharacteristicTypes
Characteristic type for volume selector. The value of the characteristic is one of the values defined for HMCharacteristicValueVolumeSelector.
HMCharacteristicTypeWANStatusListHMCharacteristicTypes
Characteristic type for wan status list. The value of the characteristic is TLV8 encoded data.
HMCharacteristicTypeWaterLevelHMCharacteristicTypes
Characteristic type for water level. The value of the characteristic is a float value in percent.
HMCharacteristicTypeWiFiSatelliteStatusHMCharacteristicTypes
Characteristic type for Wi-Fi satellite status. The value of the characteristic is one of the values defined for HMCharacteristicValueWiFiSatelliteStatus.
HMCharacteristicValueKeyPathHMEventTrigger
Specifies the key path for a characteristic value in a NSPredicate
HMErrorDomainHMError
Apple’s documentation
HMPresenceKeyPathHMEventTrigger
Specifies the key path for a presence event in a NSPredicate
HMServiceTypeAccessoryInformationHMServiceTypes
Service type for accessory information.
HMServiceTypeAirPurifierHMServiceTypes
Service type for air purifier.
HMServiceTypeAirQualitySensorHMServiceTypes
Service type for air quality sensor.
HMServiceTypeBatteryHMServiceTypes
Service type for battery.
HMServiceTypeCameraControlHMServiceTypes
Service type for camera control.
HMServiceTypeCameraRTPStreamManagementHMServiceTypes
Service type for stream management.
HMServiceTypeCarbonDioxideSensorHMServiceTypes
Service type for carbon dioxide sensor.
HMServiceTypeCarbonMonoxideSensorHMServiceTypes
Service type for carbon monoxide sensor.
HMServiceTypeContactSensorHMServiceTypes
Service type for contact sensor.
HMServiceTypeDoorHMServiceTypes
Service type for door.
HMServiceTypeDoorbellHMServiceTypes
Service type for doorbell.
HMServiceTypeFanHMServiceTypes
Service type for fan.
HMServiceTypeFaucetHMServiceTypes
Service type for faucet.
HMServiceTypeFilterMaintenanceHMServiceTypes
Service type for filter maintenance.
HMServiceTypeGarageDoorOpenerHMServiceTypes
Service type for garage door opener.
HMServiceTypeHeaterCoolerHMServiceTypes
Service type for heater/cooler.
HMServiceTypeHumidifierDehumidifierHMServiceTypes
Service type for humidifier-dehumidifier.
HMServiceTypeHumiditySensorHMServiceTypes
Service type for humidity sensor.
HMServiceTypeInputSourceHMServiceTypes
Service type for input source.
HMServiceTypeIrrigationSystemHMServiceTypes
Service type for irrigation system.
HMServiceTypeLabelHMServiceTypes
Service type for label namespace when accessory supports multiple services of the same type.
HMServiceTypeLeakSensorHMServiceTypes
Service type for leak sensor.
HMServiceTypeLightSensorHMServiceTypes
Service type for light sensor.
HMServiceTypeLightbulbHMServiceTypes
Service type for lightbulb.
HMServiceTypeLockManagementHMServiceTypes
Service type for lock management.
HMServiceTypeLockMechanismHMServiceTypes
Service type for lock mechanism.
HMServiceTypeMicrophoneHMServiceTypes
Service type for microphone.
HMServiceTypeMotionSensorHMServiceTypes
Service type for motion sensor.
HMServiceTypeOccupancySensorHMServiceTypes
Service type for occupancy sensor.
HMServiceTypeOutletHMServiceTypes
Service type for outlet.
HMServiceTypeSecuritySystemHMServiceTypes
Service type for security system.
HMServiceTypeSlatsHMServiceTypes
Service type for slats.
HMServiceTypeSmokeSensorHMServiceTypes
Service type for smoke sensor.
HMServiceTypeSpeakerHMServiceTypes
Service type for speaker.
HMServiceTypeStatefulProgrammableSwitchHMServiceTypes
Service type for stateful programmable switch.
HMServiceTypeStatelessProgrammableSwitchHMServiceTypes
Service type for stateless programmable switch.
HMServiceTypeSwitchHMServiceTypes
Service type for switch.
HMServiceTypeTelevisionHMServiceTypes
Service type for television.
HMServiceTypeTemperatureSensorHMServiceTypes
Service type for temperature sensor.
HMServiceTypeThermostatHMServiceTypes
Service type for thermostat.
HMServiceTypeValveHMServiceTypes
Service type for valve.
HMServiceTypeVentilationFanHMServiceTypes
Service type for ventilation fan.
HMServiceTypeWiFiRouterHMServiceTypes
Service type for Wi-Fi router.
HMServiceTypeWiFiSatelliteHMServiceTypes
Service type for Wi-Fi satellite.
HMServiceTypeWindowHMServiceTypes
Service type for window.
HMServiceTypeWindowCoveringHMServiceTypes
Service type for window covering.
HMSignificantEventSunriseHMSignificantEvents
Event corresponding to sunrise
HMSignificantEventSunsetHMSignificantEvents
Event corresponding to sunset
HMUserFailedAccessoriesKeyHMHome
Key that provides more details on the accessories that failed during an addUser:completionHandler: or removeUser:completionHandler: call.

Traits§

HMAccessoryBrowserDelegateHMAccessoryBrowser
This delegate receives updates about new accessories in the home.
HMAccessoryDelegateHMAccessory
This defines the protocol for a delegate to receive updates about different aspects of an accessory
HMCameraSnapshotControlDelegateHMCameraSnapshotControl
This delegate receives updates on the camera snapshot.
HMCameraStreamControlDelegateHMCameraStreamControl
This delegate receives updates on the camera stream.
HMHomeDelegateHMHome
This delegate receives update on the various accessories, action sets, groups and triggers managed in the home.
HMHomeManagerDelegateHMHomeManager
This delegate receives updates on homes being managed via the home manager.
HMNetworkConfigurationProfileDelegateHMNetworkConfigurationProfile
Apple’s documentation

Type Aliases§

HMErrorBlockHMDefines and block2
A generic handler for callbacks containing a single error parameter.
HMSignificantEventHMSignificantEvents
Type corresponding to significant events.