IDOAppletControlModel

Attribute Type Description
operate Int 0: Invalid 1: Start applet 2: Delete applet 3: Get installed applet list
appName String Applet name; valid for operate=1/2, omit for operate=3; max 29 bytes when setSupportControlMiniProgramVersion30 is disabled
state Int? Optional query bitmask for operate=3; see IDOAppletListQueryType; valid when setSupportControlMiniProgramVersion30 is enabled

IDOAppletInfoModel

Attribute Type Description
errorCode Int Error code: 0: Success
17: The current application is running
22: Low power
26: In power saving mode
27: In motion
28: In a call
29: Charging
infoItem List Applet list; valid on successful operate=3
appletNum Int Applet count; valid for operate=3 when setSupportControlMiniProgramVersion30 is disabled
operate Int 0: Invalid 1: Start applet 2: Delete applet 3: Get installed applet list
residualSpace Long Remaining space in Byte; valid for operate=3
totalSpace Long Total space in Byte; valid for operate=3
supportGetMiniProgramMaxNum Int? Max list size the device supports; valid for operate=3 when setSupportControlMiniProgramVersion30 is enabled; 255 means no limit
supportMiniProgramNameMaxLen Int? Max package name length including terminator; valid for operate=3 when setSupportControlMiniProgramVersion30 is enabled

For operate=1/2, the reply includes operate and errorCode.

IDOAppletInfoItem

Attribute Type Description
appName String Mini program name, maximum value 29 bytes
size Int Mini program size in Byte
version String Mini program version: three-part string (e.g. 1.2.3) when setSupportControlMiniProgramVersion30 is disabled; 0.0.{code} format (e.g. 0.0.7708) when enabled
versionName String? Display version name; valid when setSupportControlMiniProgramVersion30 is enabled (e.g. 7.7.8)
state Int Item state; valid when setSupportControlMiniProgramVersion30 is enabled; see IDOAppletItemState
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-07-27 09:20:46

results matching ""

    No results matching ""