Set Watch Face

Function: WatchDial

Flutter Example:

/// Set watch face event number
setWatchDial(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_watch_dial),

/// Set watch face
libManager.send(evt: CmdEvtType.setWatchDial, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Field Type Field Description
dial_id int ID of the watch face to be set
Dial id
0 invalid,currently supports1~4

Example:

{
  "dial_id": 1
}

JSON Fields Received by the App:

Field Name Field Type Field Description
ret_code int 0 for success, non-zero for failure

Example:

{
  "ret_code": 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 ""