Classes | |
interface | Type |
Public Member Functions | |
RouteManeuver (@NonNull final GeoCoordinates position, @Type final int type, final boolean valid, final int distanceFromStart, final int roundaboutExit, @NonNull final String exitNumber, @NonNull final String roadName, @NonNull final String nextRoadName, @NonNull final List< String > roadNumbers, @NonNull final List< String > nextRoadNumbers, @NonNull final String fromIso, @NonNull final String nextIso) | |
GeoCoordinates | getPosition () |
int | getType () |
boolean | isValid () |
int | getDistanceFromStart () |
int | getRoundaboutExit () |
String | getExitNumber () |
String | getRoadName () |
String | getNextRoadName () |
List< String > | getRoadNumbers () |
List< String > | getNextRoadNumbers () |
String | getFromIso () |
String | getToIso () |
boolean | equals (Object o) |
int | hashCode () |
int | describeContents () |
void | writeToParcel (final Parcel dest, final int flags) |
![]() | |
boolean | isValidParcelable () |
Static Public Attributes | |
static final Parcelable.Creator< RouteManeuver > | CREATOR |
Protected Member Functions | |
RouteManeuver (final Parcel in) | |
Additional Inherited Members | |
![]() | |
boolean | mIsValidParcelable = true |
Class contains information about maneuver on the route. Typical maneuver is "turn right", "turn left", etc...
com.sygic.sdk.route.RouteManeuver.RouteManeuver | ( | @NonNull final GeoCoordinates | position, |
@Type final int | type, | ||
final boolean | valid, | ||
final int | distanceFromStart, | ||
final int | roundaboutExit, | ||
@NonNull final String | exitNumber, | ||
@NonNull final String | roadName, | ||
@NonNull final String | nextRoadName, | ||
@NonNull final List< String > | roadNumbers, | ||
@NonNull final List< String > | nextRoadNumbers, | ||
@NonNull final String | fromIso, | ||
@NonNull final String | nextIso | ||
) |
Default constructor.
|
protected |
int com.sygic.sdk.route.RouteManeuver.describeContents | ( | ) |
For documentation, see android.os.Parcelable.describeContents()
boolean com.sygic.sdk.route.RouteManeuver.equals | ( | Object | o | ) |
int com.sygic.sdk.route.RouteManeuver.getDistanceFromStart | ( | ) |
Returns the distance to maneuver from route start point in meters.
String com.sygic.sdk.route.RouteManeuver.getExitNumber | ( | ) |
Returns the exit number.
String com.sygic.sdk.route.RouteManeuver.getFromIso | ( | ) |
Country of from road
String com.sygic.sdk.route.RouteManeuver.getNextRoadName | ( | ) |
For documentation, see android.os.Parcelable.describeContents()
List<String> com.sygic.sdk.route.RouteManeuver.getNextRoadNumbers | ( | ) |
Returns the number of next the road on which the Maneuver takes place. A short label for the road.
GeoCoordinates com.sygic.sdk.route.RouteManeuver.getPosition | ( | ) |
Returns the GeoCoordinate of the maneuver. If this maneuver contains one or more transit route elements, this coordinate will be the same as the coordinate of the 1st transit route element.
String com.sygic.sdk.route.RouteManeuver.getRoadName | ( | ) |
Returns the name of the next road on which the Maneuver takes place. A short label for the road.
List<String> com.sygic.sdk.route.RouteManeuver.getRoadNumbers | ( | ) |
Returns the number of the road on which the Maneuver takes place. A short label for the road.
int com.sygic.sdk.route.RouteManeuver.getRoundaboutExit | ( | ) |
Returns the rountabout exit index. Index is the number of exit, you should use. That is why 0 is a invalid number. (index > 0)
String com.sygic.sdk.route.RouteManeuver.getToIso | ( | ) |
Country of to road
int com.sygic.sdk.route.RouteManeuver.getType | ( | ) |
Returns the maneuver type. See the available RouteManeuver for more info.
int com.sygic.sdk.route.RouteManeuver.hashCode | ( | ) |
boolean com.sygic.sdk.route.RouteManeuver.isValid | ( | ) |
Indicates whether the maneuver is valid.
void com.sygic.sdk.route.RouteManeuver.writeToParcel | ( | final Parcel | dest, |
final int | flags | ||
) |
For documentation, see android.os.Parcelable.writeToParcel()
|
static |