Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
Documentation
VehicleType

VehicleType Class Reference

Constructors

Instance Methods

Constructors

new VehicleType(parameters)

Initalizes an instance of VehicleType.

Instance Methods

vehicleType.getMake() ⇒ String

Get the Make

Kind: Instance method of VehicleType
Returns: String - the KEY_MAKE value

vehicleType.getModel() ⇒ String

Get the Model

Kind: Instance method of VehicleType
Returns: String - the KEY_MODEL value

vehicleType.getModelYear() ⇒ String

Get the ModelYear

Kind: Instance method of VehicleType
Returns: String - the KEY_MODEL_YEAR value

vehicleType.getTrim() ⇒ String

Get the Trim

Kind: Instance method of VehicleType
Returns: String - the KEY_TRIM value

vehicleType.setMake(make) ⇒ VehicleType

Set the Make

Kind: Instance method of VehicleType
Returns: VehicleType - The class instance for method chaining.

ParamTypeDescription
make String Make of the vehicle, e.g. Ford - The desired Make. {'string_min_length': 1, 'string_max_length': 500}

vehicleType.setModel(model) ⇒ VehicleType

Set the Model

Kind: Instance method of VehicleType
Returns: VehicleType - The class instance for method chaining.

ParamTypeDescription
model String Model of the vehicle, e.g. Fiesta - The desired Model. {'string_min_length': 1, 'string_max_length': 500}

vehicleType.setModelYear(year) ⇒ VehicleType

Set the ModelYear

Kind: Instance method of VehicleType
Returns: VehicleType - The class instance for method chaining.

ParamTypeDescription
year String Model Year of the vehicle, e.g. 2013 - The desired ModelYear. {'string_min_length': 1, 'string_max_length': 500}

vehicleType.setTrim(trim) ⇒ VehicleType

Set the Trim

Kind: Instance method of VehicleType
Returns: VehicleType - The class instance for method chaining.

ParamTypeDescription
trim String Trim of the vehicle, e.g. SE - The desired Trim. {'string_min_length': 1, 'string_max_length': 500}
View on GitHub.com
Previous Section Next Section