batchGetStorage
Requires:
BaseKit≥3.30.1@ray-js/ray≥1.7.60
Platforms:
iOSAndroid
Method signature
batchGetStorage(params: )Minimum SDK versions
- iOS
ThingSmartBaseKitBizBundle - ≥ 7.5.0
- Android
com.thingclips.smart:thingsmart-bizbundle-basekit - ≥ 7.5.0
Description
Asynchronously batch-get the values for the specified keys from local storage
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
keyList | string[] | Yes | List of keys to fetch | — |
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 |
|---|---|---|---|
dataList | string[] | List of retrieved key-value pairs | — |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None