Classes | |
interface | Status |
interface | Type |
Public Member Functions | |
GeoCoordinates | getOriginalPosition () |
GeoCoordinates | getNavigablePosition () |
long | getDelay () |
int | getType () |
int | getStatus () |
int | getDistanceFromStart () |
String | getPayload () |
boolean | equals (final Object o) |
int | hashCode () |
int | describeContents () |
void | writeToParcel (final Parcel dest, final int flags) |
![]() | |
boolean | isValidParcelable () |
Static Public Attributes | |
static final Parcelable.Creator< Waypoint > | CREATOR |
Protected Member Functions | |
Waypoint (@NonNull final GeoCoordinates originalPosition, @NonNull final GeoCoordinates navigablePosition, final long delay, final int type, final int status, final int distanceFromStart, @Nullable final String payload) | |
Waypoint (final Parcel in) | |
Additional Inherited Members | |
![]() | |
boolean | mIsValidParcelable = true |
Waypoints define a route's stopovers, including its start point it's destination point and any points in between.
|
protected |
Default constructor.
|
protected |
int com.sygic.sdk.route.Waypoint.describeContents | ( | ) |
For documentation, see android.os.Parcelable.describeContents()
boolean com.sygic.sdk.route.Waypoint.equals | ( | final Object | o | ) |
long com.sygic.sdk.route.Waypoint.getDelay | ( | ) |
Returns the time spent at waypoint.
int com.sygic.sdk.route.Waypoint.getDistanceFromStart | ( | ) |
Returns the waypoint's distance from the start position
GeoCoordinates com.sygic.sdk.route.Waypoint.getNavigablePosition | ( | ) |
Represents the suggested navigable position of the Waypoint - typically the coordinates on the road closest to the original position - to be used in a route calculation. Working together with the navigable position, the original position is used by the Sygic SDK for determining the side of street during arrival, and to let the calculated route approach the correct side of street, especially when there there is a physical or logical lane divider on the road. return GeoCoordinates of suggested navigable position
GeoCoordinates com.sygic.sdk.route.Waypoint.getOriginalPosition | ( | ) |
Returns the original position for flag/pin. The original position is required for a route calculation.
String com.sygic.sdk.route.Waypoint.getPayload | ( | ) |
Returns custom name of the waypoint.
int com.sygic.sdk.route.Waypoint.hashCode | ( | ) |
void com.sygic.sdk.route.Waypoint.writeToParcel | ( | final Parcel | dest, |
final int | flags | ||
) |
For documentation, see android.os.Parcelable.writeToParcel()
|
static |