public class MatchResult
Base class that contains matcheing results.
Modifier and Type | Field and Description |
---|---|
android.location.Location |
matchedLocation
Matched location.
|
android.location.Location |
originalLocation
Original location, from GPS.
|
Constructor and Description |
---|
MatchResult()
Base class that contains matcheing results.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(MatchResultVisitor visitor) |
android.location.Location |
getMatchedLocation()
Matched location.
|
android.location.Location |
getOriginalLocation()
Original location, from GPS.
|
boolean |
isMatched()
Indicates whether the location was correctly matched or not.
This flag can be used to change the chevron color to inform a user
that the matched location can be considered as trusty.
|
void |
setMatched(boolean p)
Indicates whether the location was correctly matched or not.
This flag can be used to change the chevron color to inform a user
that the matched location can be considered as trusty.
|
void |
setMatchedLocation(android.location.Location p)
Matched location.
|
void |
setOriginalLocation(android.location.Location p)
Original location, from GPS.
|
public android.location.Location matchedLocation
Matched location.
public android.location.Location originalLocation
Original location, from GPS.
public android.location.Location getMatchedLocation()
Matched location.
public void setMatchedLocation(android.location.Location p)
Matched location.
public android.location.Location getOriginalLocation()
Original location, from GPS.
public void setOriginalLocation(android.location.Location p)
Original location, from GPS.
public boolean isMatched()
Indicates whether the location was correctly matched or not. This flag can be used to change the chevron color to inform a user that the matched location can be considered as trusty.
public void setMatched(boolean p)
Indicates whether the location was correctly matched or not. This flag can be used to change the chevron color to inform a user that the matched location can be considered as trusty.
public void accept(MatchResultVisitor visitor)