getStorageSync
Requires:
BaseKit≥2.0.1@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Method signature
getStorageSync(params: )Minimum SDK versions
- iOS
ThingSmartBaseKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-basekit - ≥ 5.2.0
Description
Asynchronously get the value for the specified key from local storage
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
key | string | Yes | The specified key in local storage | — |
Return Value
Type: any
Value corresponding to the key