V3 Set Wallpaper Dial Color and Position

Function Name: setWatchPhotoPositionMove

Flutter Example:

/// Set wallpaper dial list event number
setWallpaperDialReplyV3(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.func_v3_set_wallpaper_dial_reply),

/// Set wallpaper dial list
libManager.send(evt: CmdEvtType.setWallpaperDialReplyV3, json: jsonEncode(json));

JSON Fields Sent by the App:

Field Name Data Type Field Description
operate int Operation: 0 for query, 1 for setting, 2 for deleting the wallpaper dial
location int Set location information, reference to the 9-grid layout
hide_type int Hide type: 0 for showing all, 1 for hiding sub-controls (icons and numbers)
time_color int Color of time control (1 byte reserved + R (1 byte) + G (1 byte) + B (1 byte))
widget_type int Control type: 1 for week/date, 2 for steps, 3 for distance, 4 for calories, 5 for heart rate, 6 for battery
widget_icon_color int Color of widget icons (1 byte reserved + R (1 byte) + G (1 byte) + B (1 byte))
widget_num_color int Color of widget numbers (1 byte reserved + R (1 byte) + G (1 byte) + B (1 byte))

Example:

{
    "operate": 0,
    "location": 0,
    "hide_type": 0,
    "time_color": 0,
    "widget_type": 0,
    "widget_icon_color": 0,
    "widget_num_color": 0
}

JSON Fields Received by the App:

Field Name Data Type Field Description
err_code int 0 for success, non-zero for failure
operate int Operation: 0 for query, 1 for setting, 2 for deleting the wallpaper dial
location int Set location information
hide_type int Hide type
time_color int Color of time control
widget_type int Control type
widget_icon_color int Color of widget icons (1 byte reserved + R (1 byte) + G (1 byte) + B (1 byte))
widget_num_color int Color of widget numbers (1 byte reserved + R (1 byte) + G (1 byte) + B (1 byte))

Example:

{
    "err_code": 0,
    "operate": 0,
    "location": 1,
    "hide_type": 1,
    "time_color": 16777215,
    "widget_type": 1,
    "widget_icon_color": 0,
    "widget_num_color": 65535
}
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 ""