openGroupTimerPage(params: Object)
Requires:
DeviceKit≥2.3.1@ray-js/ray≥0.6.23
Platforms:
iOSAndroid
Description
Navigate to the group timer page
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
groupId | string | Yes | groupId Group ID |
category | string | Yes | category Timer category |
repeat | number | No | Note: This field is deprecated |
| Yes | data DP data { "dpName": DP name, string "dpId": DP ID, string "selected": index of the DP default value, t.Integer "rangeKeys": value range of the DP, Array<object> "rangeValues": display range of the DP, Array<string> } | ||
| No | timerConfig UI configuration | ||
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