API Reference - Car.speedUnit
Car.speedUnit
Event triggered when the speed unit is changed.
Example
1
2
3
4
5
6
7
8
9
10
11
try {
// Car
if ((typeof Car !== "undefined") && (typeof Car.addEventListener !== "undefined")) {
Car.addEventListener("speedUnit", function(){
alert("The speed unit is now:" + Car.GetSpeednUnit());
});
}
}catch(e) {
DealWithCarError(e);
}
Appeared in Software version 5.14.11.30