The VehicleConfiguration class is a factory interface for creating "aace.vehicle" configuration objects.
◆ createVehicleInfoConfig()
| static EngineConfiguration com.amazon.aace.vehicle.config.VehicleConfiguration.createVehicleInfoConfig |
( |
final VehicleProperty [] |
propertyList | ) |
|
|
static |
Factory method used to programmatically generate "aace.vehicle" vehicle info configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
{
"aace.vehicle":
{
"info": {
"make": "<MAKE>",
"model": "<MODEL>",
"year": "<YEAR>",
"trim": "<TRIM>",
"geography": "<GEOGRAPHY>",
"version": "<SOFTWARE_VERSION>",
"os": "<OPERATING_SYSTEM>",
"arch": "<HARDWARE_ARCH>",
"language": "<LANGUAGE>",
"microphone": "<MICROPHONE>",
"vehicleIdentifier": "<VEHICLE_IDENTIFIER>"
}
}
}
- Parameters
-
| propertyList | A list of VehicleProperty type and value pairs |
◆ createOperatingCountryConfig()
| static EngineConfiguration com.amazon.aace.vehicle.config.VehicleConfiguration.createOperatingCountryConfig |
( |
final String |
operatingCountry | ) |
|
|
static |
Factory method used to programmatically generate vehicle operating country configuration data. The data generated by this method is equivalent to providing the following JSON values in a configuration file:
{
"aace.vehicle": {
"operatingCountry": "<COUNTRY>"
}
}
- Parameters
-
| operatingCountry | A 2-letter ISO country code |
Alexa Auto SDK 3.2.0 - Copyright 2017-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Licensed under the Apache License, Version 2.0