Setting notification during exercise

Function Table: supportSettingsDuringExercise

Flutter example:

/// Set the notification switch during exercise
setDuringExercise(
evtBase: _VBusEvtBase.base_app_set,
evtType: _VBusEvtType.vbus_evt_app_set_during_exercise),

/// Set the notification switch during exercise
libManager.send(evt: CmdEvtType.setDuringExercise, json: jsonEncode(json));

JSON fields sent by App:

Field name Field type Field description
notification_switch int Reminder tone switch: 0x55 off, 0xAA on

Example:

{
"notification_switch":0xAA,
}

JSON fields received by App:

Field name Field type Field description
err_code int Success: 0
Failure: 1

Example:

{
"err_code":0
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 12:38:46

results matching ""

    No results matching ""