ServiceHapAccessoryInformation

@available(swift 4.0)
@available(iOS 10.0, tvOS 10.0, watchOS 3.0, macOS 10.12, *)
open class ServiceHapAccessoryInformation : Service

HAP-BLE HomeKit Accessory Information Service

Every accessory must expose a single instance of the Accessory Information service with the following definition. The values of Manufacturer, Model, Name and Serial Number must be persistent through the lifetime of the accessory.

  • Service Name

    Declaration

    Swift

    public static var name: String { get }
  • Service UUID

    Declaration

    Swift

    public static var uuidString: String { get }
  • Service Uniform Identifier

    Declaration

    Swift

    public static var uniformIdentifier: String { get }
  • Creates Service

    Declaration

    Swift

    public init()