@@ -27,9 +27,9 @@ Creates a distributed data object.
...
@@ -27,9 +27,9 @@ Creates a distributed data object.
| source | object | Yes| Attribute of the distributed data object to create.|
| source | object | Yes| Attribute of the distributed data object to create.|
**Return Value**
**Return Value**
| Type| Description|
| Type| Description|
| -------- | -------- |
| -------- | -------- |
| [DistributedObject](#distributedobject) | Distributed data object created.|
| [DistributedObject](#distributedobject) | Distributed data object created.|
**Example**
**Example**
```js
```js
...
@@ -171,8 +171,6 @@ Subscribes to the status changes (online or offline) of this distributed data ob
...
@@ -171,8 +171,6 @@ Subscribes to the status changes (online or offline) of this distributed data ob
| type | string | Yes| Event type to subscribe to. The value is "status", which indicates the status (online or offline) change events.|
| type | string | Yes| Event type to subscribe to. The value is "status", which indicates the status (online or offline) change events.|
| callback | Callback<{sessionId:string,networkId:string,status:'online'\|'offline'}> | Yes| Callback used to return the online or offline status.<br>**sessionId** indicates the session ID of the distributed data object.<br>**networkId** indicates the network ID of the device.<br>**status** indicates the status, which can be online or offline.|
| callback | Callback<{sessionId:string,networkId:string,status:'online'\|'offline'}> | Yes| Callback used to return the online or offline status.<br>**sessionId** indicates the session ID of the distributed data object.<br>**networkId** indicates the network ID of the device.<br>**status** indicates the status, which can be online or offline.|