backToHomeAndOpenPanel
Requires:
BizKit≥3.2.7@ray-js/ray≥1.4.57
Platforms:
iOSAndroid
Method signature
backToHomeAndOpenPanel(params: )Minimum SDK versions
- iOS
ThingSmartBizKitBizBundle - ≥ 5.2.1
- Android
com.thingclips.smart:thingsmart-bizbundle-bizkit - ≥ 5.2.0
Description
Go back to the home page and open the panel
Parameters
| Property | Type | Required | Default | Description | BizKit Since | Minimum SDK versions |
|---|---|---|---|---|---|---|
deviceId | string | Yes | - | Device info ID | - | — |
| No | - | Additional panel info When navigating to a secondary panel, additional information needs to be passed | - | — | ||
initialProps | Record<string, Record<string, any>> | No | - | Launch parameters carried by the panel | - | — |
removeUIInfo | boolean | No | false | Remove UI info When true, removes the panel’s UI information (including localization) | v4.21.2 |
|
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