Development:Prana Breath API/Collections:Settings

From Olekdia Wiki
< Development:Prana Breath API
Revision as of 12:34, 1 February 2019 by Oleksandr (talk | contribs) (Created page with "<code>settings</code> - collection that gives you control over app's settings.<br/> __TOC__ <div class="api-table long-code"> == Prefix == * <code>pranabreath://</code> * <c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

settings - collection that gives you control over app's settings.

Prefix

  • pranabreath://
  • https://olekdia.com/pranabreath/
  • https://pranabreath.page.link/?link=https://olekdia.com/pranabreath/

Syntax

  • pranabreath://settings/item?value=[Value] - Case-insensitive.
  • https://olekdia.com/pranabreath/settings?value=[Value] - Case-sensitive.

Commands

Command Description

list

Allows adjust theme of the app.
  • pranabreath://theme?value=list
id name
-1 shtange
-2 genchi
-3 buteyko
-4 heart_rate
-5 blood_circulation
  • pranabreath://tests - It is a default command when only collection is defined without an item, so if we omit the command it will return the same result.

change

Select the specified health test. Command start have despite its own effects have also select effect.
  • pranabreath://tests/Genchi?cmd=select - Select the Genchi test.
  • pranabreath://tests/Genchi - It is default command when item is specified, so it will have the same impact that above example.


Items

Item Description

themePref

Allows to adjust theme of the app.
  • pranabreath://settings/theme?value=dark - Set purple dark theme.
  • Possible values: light, dark, blue_light, blue_dark, gray_light, gray_dark, green_light, green_dark, olive_light, olive_dark, yellow_light, yellow_dark, red_light, red_dark, white, black

screenBehaviorPref

Select the specified health test. Command start have despite its own effects have also select effect.