Send phone's operating system

Function: getSupportAppSendPhoneSystemInfo

Flutter Example:

/// set phone system evt
setAppOS(
  evtBase: _VBusEvtBase.base_app_set,
  evtType: _VBusEvtType.app_set_app_os),

/// set phone system
libManager.send(evt: CmdEvtType.setAppOS, json: jsonEncode(json));

JSON fields sent by the app:

Field Name Field Type Field Description
system int Phone operating system
0x1: iOS
0x2: Android
system_version int Phone system version
Reserved

Example:

{
  "system": 1
}
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 ""