File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
src/main/java/com/beowulfe/hap/impl/services Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,19 @@ abstract class AbstractServiceImpl implements Service {
1616 private final String type ;
1717 private final List <Characteristic > characteristics = new LinkedList <>();
1818
19+ /**
20+ * This constructor has been deprecated and replaced with
21+ * {@link #AbstractServiceImpl(String, HomekitAccessory, String)}. Usages of
22+ * this constructor will need to manually configure {@link Name} characteristic
23+ * and {@link BatteryLevelCharacteristic} if needed.
24+ *
25+ * @param type unique UUID of the service. This information can be obtained from HomeKit Accessory Simulator.
26+ */
27+ @ Deprecated
28+ public AbstractServiceImpl (String type ) {
29+ this (type , null , null );
30+ }
31+
1932 /**
2033 * <p>Creates a new instance of this class with the specified UUID and {@link HomekitAccessory}.
2134 * Download and install <i>HomeKit Accessory Simulator</i> to discover the corresponding UUID for
You can’t perform that action at this time.
0 commit comments