Vehicle Information
Function: IsConnected
Description:Checks if the vehicle is currently connected to the system.
Parameters:
None.
Returns:
- true
if the vehicle is connected.
- false
if the vehicle is not connected.
Usage Example | |
---|---|
Function: GetCarName
Description:Retrieves the name of the connected vehicle.
Parameters:
None.
Returns:
- Name of the car as a string.
Function: GetModelYear
Description:Gets the model year of the connected vehicle.
Parameters:
None.
Returns:
- Model year as an integer.
Function: GetVin
Description:Fetches the Vehicle Identification Number (VIN) of the connected car.
Parameters:
None.
Returns:
- VIN of the vehicle as a string.
Function: CheckIgnition
Description:
Checks the status of the ignition.
Return Value:
Returns true
if the ignition is on, false
if it's off, and null
if the ignition status is unknown or if an error occurred.
Usage Example | |
---|---|
Function: HasBackup
Description:
Determines if a backup of the current connected vehicle exists.
Return Value:
Returns true
if a backup exists, otherwise false
.