HAP.Service (HAP v0.3.0) View Source

Represents a single service, containing a number of characteristics

Link to this section 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.

Link to this section Types

Specs

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

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

Specs

type() :: String.t()

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