getDeviceListByDevIds
Requires:
DeviceKit≥3.3.0@ray-js/ray≥0.9.0
Platforms:
iOSAndroid
Method signature
getDeviceListByDevIds(params: )Minimum SDK versions
- iOS
ThingSmartDeviceKitBizBundle - ≥ 5.2.0
- Android
com.thingclips.smart:thingsmart-bizbundle-devicekit - ≥ 5.2.0
Description
Get the device info list by a device ID list
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
deviceIds | string[] | Yes | deviceId device IDs | — |
complete | () => void | No | Completion callback (executed on both success and failure) | — |
success | (params: Object) => void | No | Callback on successful API call | — |
fail | (params: Object) => void | No | Failure callback | — |
success callback parameters
| Property | Type | Description | Minimum SDK versions |
|---|---|---|---|
| Device info list | — |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None