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

Class UpdateTurnList

Hierarchy

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

Package
com.smartdevicelink.proxy.rpc

Overview

Updates the list of next maneuvers, which can be requested by the user pressing the softbutton "Turns" on the Navigation base screen. Three softbuttons are predefined by the system: Up, Down, Close

Function Group: Navigation

HMILevel needs to be FULL, LIMITED or BACKGROUND

Fields

KEY_TURN_LIST

public static final java.lang.String KEY_TURN_LIST
Constant Value
"turnList"

KEY_SOFT_BUTTONS

public static final java.lang.String KEY_SOFT_BUTTONS
Constant Value
"softButtons"

Inherited Fields

From Class Fields
com.smartdevicelink.proxy.RPCRequest onResponseListener
com.smartdevicelink.proxy.RPCMessage KEY_REQUEST, KEY_RESPONSE, KEY_NOTIFICATION, KEY_FUNCTION_NAME, KEY_PARAMETERS, KEY_CORRELATION_ID, messageType, parameters, function
com.smartdevicelink.proxy.RPCStruct KEY_BULK_DATA, KEY_PROTECTED, store

Constructors

UpdateTurnList()

Constructs a new UpdateTurnList object

public UpdateTurnList()

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

Constructs a new UpdateTurnList object indicated by the Hashtable parameter

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

Parameters

hash
The Hashtable to use

Methods

setTurnList( java.util.List<com.smartdevicelink.proxy.rpc.Turn> turnList )

Sets a list of turns to be shown to the user

public void setTurnList(java.util.List<com.smartdevicelink.proxy.rpc.Turn> turnList)

Parameters

turnList
a List value representing a list of turns to be shown to the user

Notes: Minsize=1; Maxsize=100

getTurnList()

Gets a list of turns to be shown to the user

public java.util.List getTurnList()

getSoftButtons()

Gets the SoftButton List object

public java.util.List getSoftButtons()

setSoftButtons( java.util.List<com.smartdevicelink.proxy.rpc.SoftButton> softButtons )

Sets the SoftButtons

public void setSoftButtons(java.util.List<com.smartdevicelink.proxy.rpc.SoftButton> softButtons)

Parameters

softButtons
a List value

Notes:

  • If omitted on supported displays, the alert will not have any SoftButton
  • ArrayMin: 0
  • ArrayMax: 4

Inherited Methods

From Class Methods
com.smartdevicelink.proxy.RPCRequest getCorrelationID, setCorrelationID, setOnRPCResponseListener, getOnRPCResponseListener
com.smartdevicelink.proxy.RPCMessage getFunctionName, setFunctionName, getMessageType, setParameters, getParameters, getObject, getString, getInteger, getFloat, getDouble, getBoolean, getLong
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