public class Turn extends RPCStruct
Parameter List
| Name | Type | Description | SmartDeviceLink Ver. Available |
|---|---|---|---|
| navigationText | String | Text to describe the turn (e.g. street name)
|
SmartDeviceLink 2.0 |
| turnIcon | Image | Image to be shown for a turn | SmartDeviceLink 2.0 |
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_NAVIGATION_TEXT |
static String |
KEY_TURN_IMAGE |
KEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
Turn() |
Turn(Hashtable<String,Object> hash) |
| Modifier and Type | Method and Description |
|---|---|
String |
getNavigationText()
get the text to describe the turn (e.g.
|
Image |
getTurnIcon()
get the image to be shown for a turn
|
Turn |
setNavigationText(String navigationText)
set the text to describe the turn (e.g.
|
Turn |
setTurnIcon(Image turnIcon)
set Image to be shown for a turn
|
clone, deserializeJSON, equals, format, formatObject, getBoolean, getBulkData, getDouble, getFloat, getInteger, getLong, getMessageTypeName, getObject, getStore, getStoreValue, getString, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_NAVIGATION_TEXT
public static final String KEY_TURN_IMAGE
public Turn setNavigationText(String navigationText)
navigationText - the text to describe the turn (e.g. street name)public String getNavigationText()
public Turn setTurnIcon(Image turnIcon)
turnIcon - the image to be shown for a turnpublic Image getTurnIcon()