HAP Docs

GitHub View on GitHub

Dash Install in Dash

HAP Reference Data Extension Reference

  • Documentation
    • Getting Started
    • Usage
    • Create an Accessory
    • Design
    • Development
  • Server
    • Device
    • – SetupCode
    • DeviceDelegate
    • PairingState
    • PairingStateError
    • Server
    • QRCode
  • Accessory
    • Accessory
    • – AirQualitySensor
    • – BatteryService
    • – BridgingState
    • – ContactSensor
    • – Door
    • – Fan
    • – GarageDoorOpener
    • – Hygrometer
    • – LightSensor
    • – Lightbulb
    • – LockMechanism
    • – MotionSensor
    • – OccupancySensor
    • – Outlet
    • – SecuritySystem
    • – SmokeSensor
    • – Switch
    • – Television
    • – Thermometer
    • – Thermostat
    • – Window
    • – WindowCovering
    • AccessoryType
  • Service
    • Service
    • – BridgingState
    • – Lightbulb
    • – Television
    • – InputSource
    • – TelevisionSpeaker
    • – Info
    • – AccessoryMetrics
    • – AccessoryRuntimeInformation
    • – AirPurifier
    • – AirQualitySensor
    • – AssetUpdate
    • – Battery
    • – CarbonDioxideSensor
    • – CarbonMonoxideSensor
    • – ContactSensor
    • – Diagnostics
    • – Door
    • – Doorbell
    • – Fan
    • – FanV2
    • – Faucet
    • – FilterMaintenance
    • – FirmwareUpdate
    • – GarageDoorOpener
    • – HeaterCooler
    • – HumidifierDehumidifier
    • – HumiditySensor
    • – IrrigationSystem
    • – Label
    • – LeakSensor
    • – LightSensor
    • – LockManagement
    • – LockMechanism
    • – Microphone
    • – MotionSensor
    • – OccupancySensor
    • – Outlet
    • – SecuritySystem
    • – Slats
    • – SmokeSensor
    • – Speaker
    • – StatefulProgrammableSwitch
    • – StatelessProgrammableSwitch
    • – Switch
    • – TapManagement
    • – TemperatureSensor
    • – Thermostat
    • – ThreadTransport
    • – TransferTransportManagement
    • – Valve
    • – WiFiTransport
    • – Window
    • – WindowCovering
    • ServiceType
  • Characteristic
    • AnyCharacteristic
    • GenericCharacteristic
    • CharacteristicFormat
    • CharacteristicPermission
    • CharacteristicType
    • CharacteristicUnit
    • CharacteristicValueType
    • PredefinedCharacteristic
  • Characteristic Enums
    • Enums
    • – Active
    • – CarbonDioxideDetected
    • – ChargingState
    • – ClosedCaptions
    • – ContactSensorState
    • – CurrentAirPurifierState
    • – CurrentAirQuality
    • – CurrentDoorState
    • – CurrentFanState
    • – CurrentHeaterCoolerState
    • – CurrentHeatingCoolingState
    • – CurrentHumidifierDehumidifierState
    • – CurrentSlatState
    • – CurrentVisibilityState
    • – FilterChangeIndication
    • – InputDeviceType
    • – InputSourceType
    • – IsConfigured
    • – LeakDetected
    • – LockCurrentState
    • – LockTargetState
    • – OccupancyDetected
    • – PictureMode
    • – PositionState
    • – PowerModeSelection
    • – RemoteKey
    • – RotationDirection
    • – SecuritySystemCurrentState
    • – SecuritySystemTargetState
    • – SleepDiscoveryMode
    • – SmokeDetected
    • – StatusLowBattery
    • – TargetAirPurifierState
    • – TargetDoorState
    • – TargetFanState
    • – TargetHeaterCoolerState
    • – TargetHeatingCoolingState
    • – TargetHumidifierDehumidifierState
    • – TargetMediaState
    • – TargetVisibilityState
    • – TemperatureDisplayUnits
    • – VolumeControlType
    • – VolumeSelector
  • Config Storage
    • Storage
    • FileStorage
    • MemoryStorage
  • HAP Encoding
    • JSONValueType
    • JSONValueTypeConvertible
    • Bool
    • Data
    • Double
    • Float
    • Int
    • RawRepresentable
    • String
  • Other Classes
    • IdentifyCharacteristic
  • Other Extensions
    • Array
    • Dictionary
    • FixedWidthInteger
    • NSNull
    • Optional
    • UInt16
    • UInt32
    • UInt8
  • Other Protocols
    • AccessoryDelegate
  • Other Type Aliases
    • AccessoryIdentifier
    • Category
    • LinkQuality
    • Reachable
    • Revision

Data

extension Data: CharacteristicValueType, JSONValueTypeConvertible
  • init(value:)

    Undocumented

    Declaration

    Swift

    public init?(value: Any)
    Show on GitHub
  • format

    Undocumented

    Declaration

    Swift

    public static let format: CharacteristicFormat
    Show on GitHub
  • jsonValueType

    Undocumented

    Declaration

    Swift

    public var jsonValueType: JSONValueType { get }
    Show on GitHub

© 2022 Bouke Haarsma. All rights reserved. (Last updated: 2022-12-31)

Generated by jazzy ♪♫ v0.14.3, a Realm project.