getEncryptLocalKeyWithData(params: Object)
Requires:
DeviceKit≥1.2.6@ray-js/ray≥0.6.23
Platforms:
iOSAndroid
Description
Get the encrypted device localKey, used for special encryption during BLE(thing) big-data channel transfers
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
deviceId | string | Yes | Big-data channel encryption calculation structure deviceId Device ID |
keyDeviceId | string | Yes | keyDeviceId Device ID of the device whose encryption key needs to be transferred |
complete | () => void | No | Completion callback (executed on both success and failure) |
| No | Callback on successful API call | ||
fail | (params: Object) => void | No | Failure callback |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None