preloadPanel
Requires:
BizKit≥3.0.0@ray-js/ray≥0.3.23
Platforms:
iOSAndroid
Method signature
preloadPanel(params: )Minimum SDK versions
- iOS
ThingSmartBizKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-bizkit - ≥ 5.2.0
Description
Pre-download panel
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
deviceId | string | Yes | Device ID | — |
| No | Additional panel info When pre-downloading a secondary panel, extra info that must be provided | — | ||
complete | () => void | No | Completion callback (executed on both success and failure) | — |
success | () => void | 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