API Reference - Privacy.Mode()
Privacy.Mode()
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 authorizedPrivate
: No Data sharing is authorized (No internet and no Geolocalisation)
Appeared in Wave 4.1 - version 30.05.14.30