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
Turn

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. street name)
  • 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)

Constructor Parameters

hash

Methods

setNavigationText( String navigationText )

set the text to describe the turn (e.g. street name)

public com.smartdevicelink.proxy.rpc.Turn setNavigationText(String navigationText)

Method Parameters

navigationText
the text to describe the turn (e.g. street name)

getNavigationText()

get the text to describe the turn (e.g. street name)

public java.lang.String getNavigationText()

setTurnIcon( Image turnIcon )

set Image to be shown for a turn

public com.smartdevicelink.proxy.rpc.Turn setTurnIcon(Image turnIcon)

Method 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, 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