Difference between revisions of "Development:Prana Breath API/Collections:Settings"
From Olekdia Wiki
(→themePref) |
(→list) |
||
Line 26: | Line 26: | ||
<pre> | <pre> | ||
Items: | Items: | ||
− | + | theme | |
screenBehaviorPref | screenBehaviorPref | ||
notifBehaviorPref | notifBehaviorPref | ||
Line 36: | Line 36: | ||
* <code>pranabreath://settings</code> - It is a default command if ''collection'' is defined without an ''item'', so if we omit the ''command'' it will return the same result. | * <code>pranabreath://settings</code> - It is a default command if ''collection'' is defined without an ''item'', so if we omit the ''command'' it will return the same result. | ||
|- | |- | ||
− | | | + | | |
+ | |||
==='''set'''=== | ==='''set'''=== | ||
| Allows to set a specific setting value. | | Allows to set a specific setting value. |
Latest revision as of 10:55, 28 November 2019
settings
- Сollection that gives control over app's settings.
Contents
Prefix
pranabreath://
https://pranabreath.olekdia.com/
https://pranabreath.page.link/?link=https://pranabreath.olekdia.com/
Syntax
pranabreath://settings/item?val=[Value]
- Case-insensitive.pranabreath://settings/item?cmd=[Command]&val=[Value]
https://pranabreath.olekdia.com/settings?val=[Value]
- Case-sensitive.
Commands
Command | Description |
---|---|
list |
Returns settings list. Currently it is used only in console for retrieving settings list.
Items: theme screenBehaviorPref notifBehaviorPref breathMethodsOrientPref trngChartPref statChartPref mutePref
|
set |
Allows to set a specific setting value.
|
Items
Item | Description |
---|---|
theme |
Allows to adjust color theme setting.
Possible values:
|
screenBehaviorPref |
Allows to adjust screen during training setting. Possible values:
|
trngChartPref |
Allows to adjust training chart setting. Possible values:
|
statChartPref |
Allows to adjust statistics chart setting. Possible values:
|
notifBehaviorPref |
Allows to adjust notification during training setting. Possible values:
|
breathMethodsOrientPref |
Allows to adjust breath methods setting. Possible values:
|
mutePref |
Allows to adjust mute setting. Possible values:
|