Difference between revisions of "Development:Prana Breath API/Collections:Settings"
From Olekdia Wiki
Line 6: | Line 6: | ||
== Prefix == | == Prefix == | ||
* <code>pranabreath://</code> | * <code>pranabreath://</code> | ||
− | * <code><nowiki>https://olekdia.com | + | * <code><nowiki>https://pranabreath.olekdia.com/</nowiki></code> |
− | * <code><nowiki>https://pranabreath.page.link/?link=https://olekdia.com | + | * <code><nowiki>https://pranabreath.page.link/?link=https://pranabreath.olekdia.com/</nowiki></code> |
== Syntax == | == Syntax == | ||
* <code>pranabreath://settings/item?val=[Value]</code> - Case-insensitive. | * <code>pranabreath://settings/item?val=[Value]</code> - Case-insensitive. | ||
* <code>pranabreath://settings/item?cmd=[Command]&val=[Value]</code> | * <code>pranabreath://settings/item?cmd=[Command]&val=[Value]</code> | ||
− | * <code><nowiki>https://olekdia.com | + | * <code><nowiki>https://pranabreath.olekdia.com/settings?val=[Value]</nowiki></code> - Case-sensitive. |
== Commands == | == Commands == |
Revision as of 16:07, 1 April 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: themePref screenBehaviorPref notifBehaviorPref breathMethodsOrientPref trngChartPref statChartPref mutePref
|
set |
Allows to set a specific setting value.
|
Items
Item | Description |
---|---|
themePref |
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:
|