public class ShowConstantTbt extends RPCRequest
This RPC is used to update the user with navigation information for the constantly shown screen (base screen), but also for the alert type screen
Function Group: Navigation
HMILevel needs to be FULL, LIMITED or BACKGROUND
AlertManeuver,
UpdateTurnList| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ETA |
static String |
KEY_MANEUVER_COMPLETE |
static String |
KEY_MANEUVER_DISTANCE |
static String |
KEY_MANEUVER_DISTANCE_SCALE |
static String |
KEY_MANEUVER_IMAGE |
static String |
KEY_NEXT_MANEUVER_IMAGE |
static String |
KEY_SOFT_BUTTONS |
static String |
KEY_TEXT1 |
static String |
KEY_TEXT2 |
static String |
KEY_TIME_TO_DESTINATION |
static String |
KEY_TOTAL_DISTANCE |
onResponseListenerfunction, KEY_CORRELATION_ID, KEY_FUNCTION_NAME, KEY_NOTIFICATION, KEY_PARAMETERS, KEY_REQUEST, KEY_RESPONSE, messageType, parametersKEY_BULK_DATA, KEY_PROTECTED, store| Constructor and Description |
|---|
ShowConstantTbt()
Constructs a new ShowConstantTbt object
|
ShowConstantTbt(Hashtable<String,Object> hash)
Constructs a new ShowConstantTbt object indicated by the Hashtable parameter
|
| Modifier and Type | Method and Description |
|---|---|
Double |
getDistanceToManeuver()
Gets the distanceToManeuver.
|
Double |
getDistanceToManeuverScale()
Gets the distanceToManeuverScale.
|
String |
getEta()
Gets a text field for estimated time of arrival
|
Boolean |
getManeuverComplete()
Gets a maneuver complete flag
|
String |
getNavigationText1()
Gets a text for navigation text field 1
|
String |
getNavigationText2()
Gets a text for navigation text field 2
|
Image |
getNextTurnIcon()
Gets an Image for nextTurnIcon
|
List<SoftButton> |
getSoftButtons()
Gets Three dynamic SoftButtons available (first SoftButton is fixed to "Turns").
|
String |
getTimeToDestination() |
String |
getTotalDistance()
Gets a text field for total distance
|
Image |
getTurnIcon()
Gets an Image for turn icon
|
ShowConstantTbt |
setDistanceToManeuver(Double distanceToManeuver)
Sets the distanceToManeuver.
|
ShowConstantTbt |
setDistanceToManeuverScale(Double distanceToManeuverScale)
Sets the distanceToManeuverScale.
|
ShowConstantTbt |
setEta(String eta)
Sets a text field for estimated time of arrival
|
ShowConstantTbt |
setManeuverComplete(Boolean maneuverComplete)
Sets a maneuver complete flag.
|
ShowConstantTbt |
setNavigationText1(String navigationText1)
Sets a text for navigation text field 1
|
ShowConstantTbt |
setNavigationText2(String navigationText2)
Sets a text for navigation text field 2
|
ShowConstantTbt |
setNextTurnIcon(Image nextTurnIcon)
Sets an Image for nextTurnIcon
|
ShowConstantTbt |
setSoftButtons(List<SoftButton> softButtons)
Sets Three dynamic SoftButtons available (first SoftButton is fixed to "Turns").
|
ShowConstantTbt |
setTimeToDestination(String timeToDestination) |
ShowConstantTbt |
setTotalDistance(String totalDistance)
Sets a text field for total distance
|
ShowConstantTbt |
setTurnIcon(Image turnIcon)
Sets an Image for turn icon
|
getCorrelationID, getOnRPCResponseListener, setCorrelationID, setOnRPCResponseListenergetBoolean, getDouble, getFloat, getFunctionID, getFunctionName, getInteger, getLong, getMessageType, getObject, getParameters, getString, setFunctionName, setParametersclone, deserializeJSON, equals, format, formatObject, getBulkData, getMessageTypeName, getStore, getStoreValue, getValue, getValueForString, hashCode, hasKey, isPayloadProtected, serializeJSON, serializeJSON, setBulkData, setPayloadProtected, setValuepublic static final String KEY_TEXT1
public static final String KEY_TEXT2
public static final String KEY_ETA
public static final String KEY_TOTAL_DISTANCE
public static final String KEY_MANEUVER_DISTANCE
public static final String KEY_MANEUVER_DISTANCE_SCALE
public static final String KEY_MANEUVER_IMAGE
public static final String KEY_NEXT_MANEUVER_IMAGE
public static final String KEY_MANEUVER_COMPLETE
public static final String KEY_SOFT_BUTTONS
public static final String KEY_TIME_TO_DESTINATION
public ShowConstantTbt setNavigationText1(String navigationText1)
navigationText1 - a String value representing a text for navigation text field 1
Notes: Maxlength=500public String getNavigationText1()
public ShowConstantTbt setNavigationText2(String navigationText2)
navigationText2 - a String value representing a text for navigation text field 2
Notes: Maxlength=500public String getNavigationText2()
public ShowConstantTbt setEta(String eta)
eta - a String value representing a text field for estimated time of arrival
Notes: Maxlength=500public String getEta()
public ShowConstantTbt setTotalDistance(String totalDistance)
totalDistance - a String value representing a text field for total distance
Notes: Maxlength=500public String getTotalDistance()
public ShowConstantTbt setTurnIcon(Image turnIcon)
turnIcon - an Image valuepublic Image getTurnIcon()
public ShowConstantTbt setNextTurnIcon(Image nextTurnIcon)
nextTurnIcon - an Image valuepublic Image getNextTurnIcon()
public ShowConstantTbt setDistanceToManeuver(Double distanceToManeuver)
distanceToManeuver - Distance (in meters) until next maneuver. May be used to calculate progress bar.
{"num_min_value": 0.0, "num_max_value": 1000000000.0}public Double getDistanceToManeuver()
public ShowConstantTbt setDistanceToManeuverScale(Double distanceToManeuverScale)
distanceToManeuverScale - Distance (in meters) from previous maneuver to next maneuver. May be used to calculate
progress bar.
{"num_min_value": 0.0, "num_max_value": 1000000000.0}public Double getDistanceToManeuverScale()
public ShowConstantTbt setManeuverComplete(Boolean maneuverComplete)
Sets a maneuver complete flag. If and when a maneuver has completed while an AlertManeuver is active, the app must send this value set to TRUE in order to clear the AlertManeuver overlay If omitted the value will be assumed as FALSE
maneuverComplete - a Boolean valuepublic Boolean getManeuverComplete()
public ShowConstantTbt setSoftButtons(List<SoftButton> softButtons)
Sets Three dynamic SoftButtons available (first SoftButton is fixed to "Turns"). If omitted on supported displays, the currently displayed SoftButton values will not change
Notes: Minsize=0; Maxsize=3
softButtons - a Listpublic List<SoftButton> getSoftButtons()
public ShowConstantTbt setTimeToDestination(String timeToDestination)
public String getTimeToDestination()