You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/GeneratorShowcase/doc/GeneratorShowcasePlugin.md
+32-26Lines changed: 32 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -205,7 +205,7 @@ This method will return *True* for the following methods/properties: *connected,
205
205
"id": 42,
206
206
"method": "GeneratorShowcase.1.exists",
207
207
"params": {
208
-
"method": "connected"
208
+
"method": "methodName"
209
209
}
210
210
}
211
211
```
@@ -227,7 +227,7 @@ Registers for an asynchronous JSON-RPC notification.
227
227
228
228
### Description
229
229
230
-
This method supports the following event names: *[bindingChanged](#notification_bindingChanged), [statusChanged](#notification_statusChanged), [device#ID::nameChanged](#notification_device#ID::nameChanged), [device#ID::stateChanged](#notification_device#ID::stateChanged), [device#ID::pinChanged](#notification_device#ID::pinChanged), [added](#notification_added), [removed](#notification_removed), [accessory#ID::nameChanged](#notification_accessory#ID::nameChanged)*.
230
+
This method supports the following event names: *[bindingChanged](#notification_bindingChanged), [statusChanged](#notification_statusChanged), [device::nameChanged](#notification_device__nameChanged), [device::stateChanged](#notification_device__stateChanged), [device::pinChanged](#notification_device__pinChanged), [added](#notification_added), [removed](#notification_removed), [accessory::nameChanged](#notification_accessory__nameChanged)*.
231
231
232
232
### Parameters
233
233
@@ -259,7 +259,7 @@ This method supports the following event names: *[bindingChanged](#notification_
259
259
"id": 42,
260
260
"method": "GeneratorShowcase.1.register",
261
261
"params": {
262
-
"event": "bindingChanged",
262
+
"event": "eventName",
263
263
"id": "myapp"
264
264
}
265
265
}
@@ -282,7 +282,7 @@ Unregisters from an asynchronous JSON-RPC notification.
282
282
283
283
### Description
284
284
285
-
This method supports the following event names: *[bindingChanged](#notification_bindingChanged), [statusChanged](#notification_statusChanged), [device#ID::nameChanged](#notification_device#ID::nameChanged), [device#ID::stateChanged](#notification_device#ID::stateChanged), [device#ID::pinChanged](#notification_device#ID::pinChanged), [added](#notification_added), [removed](#notification_removed), [accessory#ID::nameChanged](#notification_accessory#ID::nameChanged)*.
285
+
This method supports the following event names: *[bindingChanged](#notification_bindingChanged), [statusChanged](#notification_statusChanged), [device::nameChanged](#notification_device__nameChanged), [device::stateChanged](#notification_device__stateChanged), [device::pinChanged](#notification_device__pinChanged), [added](#notification_added), [removed](#notification_removed), [accessory::nameChanged](#notification_accessory__nameChanged)*.
286
286
287
287
### Parameters
288
288
@@ -314,7 +314,7 @@ This method supports the following event names: *[bindingChanged](#notification_
314
314
"id": 42,
315
315
"method": "GeneratorShowcase.1.unregister",
316
316
"params": {
317
-
"event": "bindingChanged",
317
+
"event": "eventName",
318
318
"id": "myapp"
319
319
}
320
320
}
@@ -1210,6 +1210,8 @@ Unlinks a device.
1210
1210
1211
1211
Acquires a device.
1212
1212
1213
+
> This method creates an instance of a *device* object.
1214
+
1213
1215
### Parameters
1214
1216
1215
1217
| Name | Type | M/O | Description |
@@ -1221,7 +1223,7 @@ Acquires a device.
1221
1223
1222
1224
| Name | Type | M/O | Description |
1223
1225
| :-------- | :-------- | :-------- | :-------- |
1224
-
| result | integer | mandatory | Instance of the acquired device |
1226
+
| result | integer (instance ID) | mandatory | Instance of the acquired device<br>|
0 commit comments