hmFS.SysProGetInt(key)
Get the temporarily stored integer that will be cleared by system reboot.
Type
(key: string) => result
Parameters
key
| Description | Required | Type | Default |
|---|---|---|---|
| key string | yes | string | - |
result
| Description- | Type |
|---|---|
| stored integer | number |
Usage
hmFS.SysProSetInt('js_test_int', 100)
console.log(hmFS.SysProGetInt('js_test_int'))