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

Class Turn

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Describes a navigation turn including an optional icon

Parameter List

Name Type Description SmartDeviceLink Ver. Available
navigationText String Text to describe the turn (e.g. streetname)
  • Maxlength = 500
SmartDeviceLink 2.0
turnIcon Image Image to be shown for a turn SmartDeviceLink 2.0

Fields

KEY_NAVIGATION_TEXT

public static final java.lang.String KEY_NAVIGATION_TEXT
Constant Value
"navigationText"

KEY_TURN_IMAGE

public static final java.lang.String KEY_TURN_IMAGE
Constant Value
"turnIcon"

Inherited Fields

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

Constructors

Turn()

public Turn()

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

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

Parameters

hash

Methods

setNavigationText( String navigationText )

set the text to describe the turn (e.g. streetname)

public void setNavigationText(String navigationText)

Parameters

navigationText
the text to describe the turn (e.g. streetname)

getNavigationText()

get the text to describe the turn (e.g. streetname)

public java.lang.String getNavigationText()

setTurnIcon( Image turnIcon )

set Image to be shown for a turn

public void setTurnIcon(Image turnIcon)

Parameters

turnIcon
the image to be shown for a turn

getTurnIcon()

get the image to be shown for a turn

public com.smartdevicelink.proxy.rpc.Image getTurnIcon()

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