Webportal v1

embedded apps

API Reference - Device.GetCarBrand()

Device.GetCarBrand()

Type Method
Min Privacy Full
wave 2
wave 3
wave 4

Device.GetCarBrand()

Description Get the brand of the vehicle
Response Number Car brand
Value Car Brand
0 Peugeot
1 Citroen
2 DS
3 Toyota
4 Opel
5 Vauxhall
Parameter Void

Example

1
2
3
4
5
6
var carBrand = Device.GetCarBrand()
if (carbrand === 2) {
  DisplayMenuDS()
} else {
  DisplayMenu()
}

Appeared in Software version 5.14.11.30