Webportal v1

embedded apps

API Reference - Privacy.Mode()

Privacy.Mode()

Type Method
Min Privacy Full
wave 3
wave 4

Privacy.Mode()

Description Gets the privacy mode.
Response String Current privacy mode.
Parameter Void

Example

1
2
3
4
5
6
If (Privacy.Mode() === "Private" || Privacy.Mode() === "Geoloc" ) {
	
} else {
	//Privacy.Mode() = "Public"
	Startapplication()
}

Remark

Note: 3 values are available

  • Public: All informations are available (Geolocalisation and internet connectivity are authorized)
  • Geoloc: Geolocalisation is authorized
  • Private: No Data sharing is authorized (No internet and no Geolocalisation)

Appeared in Wave 4.1 - version 30.05.14.30