IDOAppletListQueryType
Request query scope bitmask for setAppletControl list query (operate=3; combine with bitwise OR).
The JSON state field is valid only when firmware enables setSupportControlMiniProgramVersion30.
| Enum | raw | bit | Description |
|---|---|---|---|
downloading |
1 |
bit0 | Query mini programs currently downloading |
installing |
2 |
bit1 | Query mini programs currently installing |
installed |
4 |
bit2 | Query installed mini programs |
Combination examples:
| Combination | state value | ||
|---|---|---|---|
| downloading + installing | 3 (`1 \ |
2`) | |
| installed only | 4 |
||
| all scopes | 7 (`1 \ |
2 \ | 4`) |
Swift: IDOAppletListQueryType.combine([.downloading, .installed]) → 5
Kotlin: IDOAppletListQueryType.combine(IDOAppletListQueryType.DOWNLOADING, IDOAppletListQueryType.INSTALLED) → 5