CLCmdDeviceConfig constructor
CLCmdDeviceConfig({
- required int PPGDayIntervalMilliSec,
- required int PPGNightIntervalMilliSec,
- required int SkinTempDayIntervalMilliSec,
- required int SkinTempNightIntervalMilliSec,
- required bool bUIScreenActivateWristFlip,
- required bool bUIScreenActivatePressHold1s,
- required bool bUIScreenActivatePressHold3s,
- required bool bUIScreenTapping,
- required bool bReminderOffWeekends,
- required int idleAlertTimeInMinutes,
- required int idleAlertTimeStart,
- required int idleAlertTimeEnd,
- required int screenOnTimeGeneral,
- required int screenOnTimeHeartRate,
- required int sleepSensitivity,
- required int stepSensitivity,
- required int vocSampleRate,
- required int alcoholSensitivity,
- required String cityname,
- required int hrbroadcast,
- required bool touchEnable,
- required bool autoBPEnable,
- required bool autoBOEnable,
Implementation
CLCmdDeviceConfig(
{required this.PPGDayIntervalMilliSec,
required this.PPGNightIntervalMilliSec,
required this.SkinTempDayIntervalMilliSec,
required this.SkinTempNightIntervalMilliSec,
required this.bUIScreenActivateWristFlip,
required this.bUIScreenActivatePressHold1s,
required this.bUIScreenActivatePressHold3s,
required this.bUIScreenTapping,
required this.bUINavigationTapping,
required this.bUINavigationWristShaking,
required this.bReminderOffWeekends,
required this.idleAlertTimeInMinutes,
required this.idleAlertTimeStart,
required this.idleAlertTimeEnd,
required this.screenOnTimeGeneral,
required this.screenOnTimeHeartRate,
required this.sleepSensitivity,
required this.stepSensitivity,
required this.vocSampleRate,
required this.alcoholSensitivity,
required this.cityname,
required this.hrbroadcast,
required this.touchEnable,
required this.autoBPEnable,
required this.autoBOEnable}) {
_cityname_len = cityname.toNativeUtf8().length;
}