Get Wrist Up Gesture Data

Menu: getUpHandGestureEx

Flutter Example:

/// Get wrist up gesture data event number
getUpHandGesture(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.app_get_up_hand_gesture),

/// Get wrist up gesture data
libManager.send(evt: CmdEvtType.getUpHandGesture, json: jsonEncode(json));

JSON Fields Received by the App:

Field Name Field Type Field Description
on_off int Switch
1: On
0: Off
-1:Not Support
show_second int Screen on duration
in seconds
has_time_range int Whether time range is available
1: Yes
0: No
start_hour int Start time, hour
start_minute int Start time, minute
end_hour int End time, hour
end_minute int End time, minute

Example:

{
  "end_hour" : 0,
  "end_minute" : 0,
  "has_time_range" : 0,
  "on_off" : 1,
  "show_second" : 5,
  "start_hour" : 0,
  "start_minute" : 0
}
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by GitbookModify Date: 2025-04-30 09:32:44

results matching ""

    No results matching ""