public class MapMatchingResponse
extends java.lang.Object
| Constructor and Description |
|---|
MapMatchingResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
A string depicting the state of the response.
|
java.util.List<MapMatchingMatching> |
getMatchings()
An array of Match objects
|
java.util.List<MapMatchingTracepoint> |
getTracepoints()
An array of Tracepoint objects representing the location an input point was matched with.
|
void |
setCode(java.lang.String code) |
void |
setMatchings(java.util.List<MapMatchingMatching> matchings)
Set the matchings value
|
void |
setTracepoints(java.util.List<MapMatchingTracepoint> tracepoints)
Set the tracepoints value
|
public java.lang.String getCode()
mapbox.driving, mapbox.walking,
or mapbox.cycling.public void setCode(java.lang.String code)
code - String containing the code.public java.util.List<MapMatchingMatching> getMatchings()
public void setMatchings(java.util.List<MapMatchingMatching> matchings)
matchings - listpublic java.util.List<MapMatchingTracepoint> getTracepoints()
public void setTracepoints(java.util.List<MapMatchingTracepoint> tracepoints)
tracepoints - list