API Reference - Privacy.ModeGeoloc
Privacy.ModeGeoloc
Event triggered when the Geolocalisation privacy mode is selected.
Example
1
2
3
4
5
6
7
8
9
10
try {
// Privacy
if ((typeof Privacy !== "undefined") && (typeof Privacy.addEventListener !== "undefined")) {
Privacy.addEventListener("ModeGeoloc", function(){
alert("Geoloc privacy mode is now active some functionnalities won't be available");
});
}
} catch(e) {
DealWithPrivacyError(e);
}
Appeared in Wave 4.1 - version 30.05.14.30