java.lang.Object
com.smartdevicelink.proxy.RPCStruct
public static final java.lang.String KEY_LOCATION_DETAILS
public static final java.lang.String KEY_ACTION
public static final java.lang.String KEY_ETA
public static final java.lang.String KEY_BEARING
public static final java.lang.String KEY_JUNCTION_TYPE
public static final java.lang.String KEY_DRIVING_SIDE
public static final java.lang.String KEY_DETAILS
public static final java.lang.String KEY_IMAGE
From Class | Fields |
---|---|
com.smartdevicelink.proxy.RPCStruct | KEY_BULK_DATA, KEY_PROTECTED, store |
public NavigationInstruction()
public NavigationInstruction(java.util.Hashtable<java.lang.String, java.lang.Object> hash)
public NavigationInstruction(LocationDetails locationDetails,NavigationAction action)
public com.smartdevicelink.proxy.rpc.NavigationInstruction setLocationDetails(LocationDetails locationDetails)
public com.smartdevicelink.proxy.rpc.LocationDetails getLocationDetails()
public com.smartdevicelink.proxy.rpc.NavigationInstruction setAction(NavigationAction action)
public com.smartdevicelink.proxy.rpc.enums.NavigationAction getAction()
public com.smartdevicelink.proxy.rpc.NavigationInstruction setEta(DateTime eta)
public com.smartdevicelink.proxy.rpc.DateTime getEta()
The angle at which this instruction takes place. For example, 0 would mean straight, <=45 is bearing right, >= 135 is sharp right, between 45 and 135 is a regular right, and 180 is a U-Turn, etc.
public com.smartdevicelink.proxy.rpc.NavigationInstruction setBearing(Integer bearing)
The angle at which this instruction takes place. For example, 0 would mean straight, <=45 is bearing right, >= 135 is sharp right, between 45 and 135 is a regular right, and 180 is a U-Turn, etc.
public java.lang.Integer getBearing()
public com.smartdevicelink.proxy.rpc.NavigationInstruction setJunctionType(NavigationJunction junctionType)
public com.smartdevicelink.proxy.rpc.enums.NavigationJunction getJunctionType()
Used to infer which side of the road this instruction takes place. For a U-Turn (action=TURN, bearing=180) this will determine which direction the turn should take place.
public com.smartdevicelink.proxy.rpc.NavigationInstruction setDrivingSide(Direction drivingSide)
Used to infer which side of the road this instruction takes place. For a U-Turn (action=TURN, bearing=180) this will determine which direction the turn should take place.
public com.smartdevicelink.proxy.rpc.enums.Direction getDrivingSide()
This is a string representation of this instruction, used to display instructions to the users. This is not intended to be read aloud to the users, see the param prompt in NavigationServiceData for that.
public com.smartdevicelink.proxy.rpc.NavigationInstruction setDetails(String details)
This is a string representation of this instruction, used to display instructions to the users. This is not intended to be read aloud to the users, see the param prompt in NavigationServiceData for that.
public java.lang.String getDetails()
An image representation of this instruction.
public com.smartdevicelink.proxy.rpc.NavigationInstruction setImage(Image image)
An image representation of this instruction.
public com.smartdevicelink.proxy.rpc.Image getImage()
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 |