hmFS.SysProSetBool(key, val)
Store temporary boolean value, system reboot will clear it.
Type
(key: string, val: boolean) => result
Parameters
Parameters | Description | Required | Type | Default |
---|---|---|---|---|
key | key string | yes | string | - |
val | Stored boolean value | yes | boolean | - |
result
Description | Type |
---|---|
The result of the operation, 0 means success | number |
Usage
hmFS.SysProSetBool('test_key', true)