情绪健康提醒
IDOEmotionHealthReminderParamModel
| 属性名称 | 类型 | 描述 |
|---|---|---|
| operate | Int | 操作类型:0:无效 1:设置 2:查询 |
| notifyType | Int | 通知类型:0:无效 1:允许通知 2:静默通知 3:关闭通知 |
| emotionalHealthSwitch | Int | 情绪健康总开关:1:开 0:关 |
| pressureRemind | IDOPressureRemindConfig | 压力提醒配置 |
| unpleasantRemind | IDOUnpleasantRemindConfig | 不开心提醒配置 |
IDOEmotionHealthReminderReplyModel
| 属性名称 | 类型 | 描述 |
|---|---|---|
| operate | Int | 操作类型:0:无效 1:设置 2:查询 |
| errorCode | Int | 错误码:0:成功 非0:失败 |
| notifyType | Int | 通知类型:0:无效 1:允许通知 2:静默通知 3:关闭通知 |
| emotionalHealthSwitch | Int | 情绪健康总开关:1:开 0:关 |
| pressureRemind | IDOPressureRemindConfig | 压力提醒配置 |
| unpleasantRemind | IDOUnpleasantRemindConfig | 不开心提醒配置 |
IDOPressureRemindConfig
| 属性名称 | 类型 | 描述 |
|---|---|---|
| pressureSwitch | Int | 压力提醒开关:1:开 0:关 |
| startHour | Int | 提醒起始时间(时) |
| startMinute | Int | 提醒起始时间(分) |
| endHour | Int | 提醒结束时间(时) |
| endMinute | Int | 提醒结束时间(分) |
| repeats | HashSet<IDOWeek> Set<IDOWeek>() |
重复周期 (bit0:总开关, bit1~bit7:周一~周日) |
| reminderInterval | Int | 提醒间隔,单位:分钟 |
IDOUnpleasantRemindConfig
| 属性名称 | 类型 | 描述 |
|---|---|---|
| unpleasantSwitch | Int | 不开心提醒开关:1:开 0:关 |
| unhappyReminderNum | Int | 不开心提醒阈值,0为无效 |