View Source HAP.Service (HAP v0.6.0)

Represents a single service, containing a number of characteristics

Summary

Types

t()

Represents a service of a given type, containing a number of characteristics

The type of a service as defined in Section 6.6.1 of Apple's HomeKit Accessory Protocol Specification.

Types

@type t() :: %HAP.Service{characteristics: [HAP.Characteristic.t()], type: type()}

Represents a service of a given type, containing a number of characteristics

@type type() :: String.t()

The type of a service as defined in Section 6.6.1 of Apple's HomeKit Accessory Protocol Specification.