Alexa Auto SDK  2.0.0
Classes | Static Public Member Functions | List of all members
com.amazon.aace.vehicle.config.VehicleConfiguration Class Reference

Classes

enum  VehiclePropertyType
 

Static Public Member Functions

static EngineConfiguration createVehicleInfoConfig (final VehicleProperty[] propertyList)
 
static EngineConfiguration createOperatingCountryConfig (final String operatingCountry)
 

Detailed Description

The VehicleConfiguration class is a factory interface for creating Vehicle service configuration objects.

Member Function Documentation

◆ createVehicleInfoConfig()

static EngineConfiguration com.amazon.aace.vehicle.config.VehicleConfiguration.createVehicleInfoConfig ( final VehicleProperty []  propertyList)
static

Factory method used to programmatically generate 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>",
"countries": "<COUNTRY_LIST>",
"vehicleIdentifier": "<VEHICLE_IDENTIFIER>"
}
}
}
Parameters
propertyListA 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
operatingCountryA 2-letter ISO country code

Alexa Auto SDK 2.0.0 - Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0