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
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
JavaEE Documentation
VehicleType

Class VehicleType

Hierarchy

java.lang.Object
     com.smartdevicelink.proxy.RPCStruct

Package
com.smartdevicelink.proxy.rpc

Overview

Describes the type of vehicle the mobile phone is connected with.

Parameter List

Name Type Description SmartDeviceLink Ver. Available
make String Make of the vehicle
  • Maxlength = 500
SmartDeviceLink 2.0
Model String Model of the vehicle, e.g. Fiesta
  • Maxlength = 500
SmartDeviceLink 2.0
modelYear String Model Year of the vehicle, e.g. 2013
  • Maxlength = 500
SmartDeviceLink 2.0
trim String Trim of the vehicle, e.g. SE
  • Maxlength = 500
SmartDeviceLink 2.0

Fields

KEY_MAKE

public static final java.lang.String KEY_MAKE
Constant Value
"make"

KEY_MODEL

public static final java.lang.String KEY_MODEL
Constant Value
"model"

KEY_MODEL_YEAR

public static final java.lang.String KEY_MODEL_YEAR
Constant Value
"modelYear"

KEY_TRIM

public static final java.lang.String KEY_TRIM
Constant Value
"trim"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

VehicleType()

Constructs a newly allocated VehicleType object

public VehicleType()

VehicleType( java.util.Hashtable<java.lang.String, java.lang.Object> hash )

Constructs a newly allocated VehicleType object indicated by the Hashtable parameter

public VehicleType(java.util.Hashtable<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

VehicleType( java.util.HashMap<java.lang.String, java.lang.Object> hash )

Constructs a new VehicleType object indicated by the Hashtable parameter

public VehicleType(java.util.HashMap<java.lang.String, java.lang.Object> hash)

Constructor Parameters

hash
The Hashtable to use

Methods

getMake()

get the make of the vehicle

public java.lang.String getMake()

setMake( String make )

set the make of the vehicle

public com.smartdevicelink.proxy.rpc.VehicleType setMake(String make)

Method Parameters

make
the make of the vehicle

getModel()

get the model of the vehicle

public java.lang.String getModel()

setModel( String model )

set the model of the vehicle

public com.smartdevicelink.proxy.rpc.VehicleType setModel(String model)

Method Parameters

model
the model of the vehicle

getModelYear()

get the model year of the vehicle

public java.lang.String getModelYear()

setModelYear( String modelYear )

set the model year of the vehicle

public com.smartdevicelink.proxy.rpc.VehicleType setModelYear(String modelYear)

Method Parameters

modelYear
the model year of the vehicle

getTrim()

get the trim of the vehicle

public java.lang.String getTrim()

setTrim( String trim )

set the trim of the vehicle

public com.smartdevicelink.proxy.rpc.VehicleType setTrim(String trim)

Method Parameters

trim
the trim of the vehicle

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCStruct getStoreValue, getStore, deserializeJSON, serializeJSON, serializeJSON, format, getBulkData, setBulkData, setPayloadProtected, isPayloadProtected, getMessageTypeName, hasKey, setValue, getValue, getObject, formatObject, getValueForString, getString, getInteger, getDouble, getFloat, getBoolean, getLong, clone, equals, hashCode
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section