Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

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)

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 void setMake(String make)

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 void setModel(String model)

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 void setModelYear(String modelYear)

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 void setTrim(String trim)

Parameters

trim
the trim of the vehicle

Inherited Methods

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