Update Reference.md

This commit is contained in:
HomeSpan 2021-02-15 20:47:54 -06:00 committed by GitHub
parent 06da589541
commit 1cbac51a43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ The following methods are supported:
* specifies that this is hidden Service for the Accessory. Returns a pointer to the Service itself so that the method can be chained during instantiation.
* `SpanService *addLink(SpanService *svc)`
* adds *svc* as a Linked Service. Returns a pointer to the calling Service itself so that the method can be chained during instantiation. Note Linked Services are only applicable for select HAP Services. See HAP R2 documentation for full details.
* adds *svc* as a Linked Service. Returns a pointer to the calling Service itself so that the method can be chained during instantiation. Note Linked Services are only applicable for select HAP Services. See Apple's [HAP-R2](https://developer.apple.com/support/homekit-accessory-protocol/) documentation for full details.
* `virtual boolean update()`
* HomeSpan calls this method upon receiving a request from a HomeKit Controller to update one or more Characteristics associated with the Service. Users should override this method with code that implements that requested updates using one or more of the SpanCharacteristic methods below. Method **must** return *true* if update succeeds, or *false* if not.