# onVehicleStatusChanged

Notification (Navigation and application).

Notification when the current vehicle status changes

Reports that the current vehicle status has changed, and to which one. This is the return half of
[`updateVehicleStatuses`](https://docs.benomad.com/benav-rnc/commands/update-vehicle-statuses.md): the client application supplies the statuses, and hears about every
change here.

It fires whether the driver tapped the status or the client application set it with
[`setVehicleStatus`](https://docs.benomad.com/benav-rnc/commands/set-vehicle-status.md), so there is a single place to watch regardless of where the change came
from.

## Configuration

```json
{
  "name":"onVehicleStatusChanged",
  "params": {
    "enabled": true
  }
}
```

## Notification Data

```json
{
  "jsonrpc": "2.0",
  "method": "onVehicleStatusChanged",
  "params": {
    "id": 2
  }
}
```

- `id` the id of the status that just became current, as supplied to [`updateVehicleStatuses`](https://docs.benomad.com/benav-rnc/commands/update-vehicle-statuses.md).
