V3 Get Screen Information

Flutter Example:

/// Get event number for obtaining screen information
getWatchDialInfo(
  evtBase: _VBusEvtBase.base_app_get,
  evtType: _VBusEvtType.func_get_screen_ifno),

/// Get screen information
libManager.send(evt: CmdEvtType.getWatchDialInfo, json: jsonEncode(json));

JSON Fields Received by the App:

Field Name Field Type Field Description
width int Screen width (pixel size)
height int Screen height (pixel size)
format int Color format
sizex100 int Size in 100x increments
family_name char [] Family name (maximum 10 bytes)
block_size int Compression block size

Example:

{
  "block_size" : 4096,
  "family_name" : "139",
  "format" : 133,
  "height" : 280,
  "sizex100" : 0,
  "width" : 240
}
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 ""