aboutsummaryrefslogtreecommitdiff
path: root/resources/settings/properties.xml
blob: bcd31b67a3d72eb5100ab9bc5dbcf9ddb762b3bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!--
  Author:  cirakg & claude ai
  Summary: App properties (README 10.2): every settings form field with its default, the options and the read-only About fields.
-->
<!--
  Every property the watch reads must be defined here: reading an undefined
  one stops the app with a system error that can't be caught.
  * Forms (Add OTP, Add code, Manage entry, Import): read by
    source/settings/SettingsJob.mc when their switch (otpAdd, codeAdd,
    mgApply, impApply) is on. Afterwards the watch turns the switch off,
    clears the form (secret fields first) and writes *Status. The defaults
    here are the values a cleared form returns to (OtpForm/CodeForm/
    ManageForm.defaults() must match them).
  * Options: read by source/app/Options.mc; list values are indexes.
  * About (catalog, version, storageUse): written by the watch only
    (source/settings/AboutScan.mc).
-->
<properties>
    <!-- Add OTP -->
    <property id="otpType" type="number">0</property>
    <property id="otpIssuer" type="string"></property>
    <property id="otpAccount" type="string"></property>
    <property id="otpSecret" type="string"></property>
    <property id="otpAlgorithm" type="number">0</property>
    <property id="otpDigits" type="number">6</property>
    <property id="otpPeriod" type="number">30</property>
    <property id="otpCounter" type="long">0</property>
    <property id="otpGroup" type="string"></property>
    <property id="otpLocked" type="boolean">false</property>
    <property id="otpAdd" type="boolean">false</property>
    <property id="otpStatus" type="string"></property>
    <!-- Add code -->
    <property id="codeName" type="string"></property>
    <property id="codeSymbology" type="number">0</property>
    <property id="codePayload" type="string"></property>
    <property id="codeEcLevel" type="number">1</property>
    <property id="codeCheckDigit" type="number">0</property>
    <property id="codeShowText" type="boolean">true</property>
    <property id="codeGroup" type="string"></property>
    <property id="codeLocked" type="boolean">false</property>
    <property id="codeAdd" type="boolean">false</property>
    <property id="codeStatus" type="string"></property>
    <!-- Manage entry -->
    <property id="mgId" type="string"></property>
    <property id="mgAction" type="number">0</property>
    <property id="mgName" type="string"></property>
    <property id="mgAccount" type="string"></property>
    <property id="mgGroup" type="string"></property>
    <property id="mgPosition" type="number">1</property>
    <property id="mgSecret" type="string"></property>
    <property id="mgCounter" type="long">0</property>
    <property id="mgApply" type="boolean">false</property>
    <property id="mgStatus" type="string"></property>
    <!-- Import -->
    <property id="impText1" type="string"></property>
    <property id="impText2" type="string"></property>
    <property id="impText3" type="string"></property>
    <property id="impText4" type="string"></property>
    <property id="impText5" type="string"></property>
    <property id="impText6" type="string"></property>
    <property id="impText7" type="string"></property>
    <property id="impText8" type="string"></property>
    <property id="impMode" type="number">0</property>
    <property id="impLocked" type="boolean">false</property>
    <property id="impApply" type="boolean">false</property>
    <property id="impStatus" type="string"></property>
    <!-- Options -->
    <property id="optAutoLock" type="number">3</property>
    <property id="optWipe" type="boolean">false</property>
    <property id="optTimeOffset" type="number">0</property>
    <property id="optCodeSize" type="number">1</property>
    <property id="optTheme" type="number">0</property>
    <property id="optGroups" type="boolean">true</property>
    <property id="optEncryptNames" type="boolean">false</property>
    <property id="optGlanceCode" type="boolean">false</property>
    <property id="optBrightness" type="boolean">true</property>
    <!-- About (written by the watch) -->
    <property id="catalog" type="string"></property>
    <property id="version" type="string"></property>
    <property id="storageUse" type="string"></property>
</properties>