com.sygic.sdk.navigation.RouteProgress Class Reference
Inheritance diagram for com.sygic.sdk.navigation.RouteProgress:
Collaboration diagram for com.sygic.sdk.navigation.RouteProgress:

Public Member Functions

float getProgress ()
 
int getDistanceToEnd ()
 
int getTimeToEnd ()
 
int getTimeToEndWithSpeedProfiles ()
 
int getTimeToEndWithSpeedProfileAndTraffic ()
 
.TransportMode int getTransportMode ()
 
GeoBoundingBox getToEndBoundingBox ()
 
int describeContents ()
 
void writeToParcel (final Parcel dest, final int flags)
 
boolean equals (Object o)
 
int hashCode ()
 
String toString ()
 
- Public Member Functions inherited from com.sygic.sdk.BaseNativeParcelable
boolean isValidParcelable ()
 

Static Public Attributes

static final Parcelable.Creator< RouteProgressCREATOR
 

Protected Member Functions

 RouteProgress (final Parcel in)
 

Additional Inherited Members

- Protected Attributes inherited from com.sygic.sdk.BaseNativeParcelable
boolean mIsValidParcelable = true
 

Detailed Description

Class containing information about navigation route.

Constructor & Destructor Documentation

◆ RouteProgress()

com.sygic.sdk.navigation.RouteProgress.RouteProgress ( final Parcel  in)
protected

Member Function Documentation

◆ describeContents()

int com.sygic.sdk.navigation.RouteProgress.describeContents ( )

◆ equals()

boolean com.sygic.sdk.navigation.RouteProgress.equals ( Object  o)

◆ getDistanceToEnd()

int com.sygic.sdk.navigation.RouteProgress.getDistanceToEnd ( )

Route length to end

Returns
distance in meters

◆ getProgress()

float com.sygic.sdk.navigation.RouteProgress.getProgress ( )

Route progress

Returns
value <0,1>

◆ getTimeToEnd()

int com.sygic.sdk.navigation.RouteProgress.getTimeToEnd ( )

Route duration to end without traffic and speed profiles

Returns
time in seconds

◆ getTimeToEndWithSpeedProfileAndTraffic()

int com.sygic.sdk.navigation.RouteProgress.getTimeToEndWithSpeedProfileAndTraffic ( )

Route duration to end with current traffic

Returns
time in seconds

◆ getTimeToEndWithSpeedProfiles()

int com.sygic.sdk.navigation.RouteProgress.getTimeToEndWithSpeedProfiles ( )

Route duration to end with speed profiles

Returns
time in seconds

◆ getToEndBoundingBox()

GeoBoundingBox com.sygic.sdk.navigation.RouteProgress.getToEndBoundingBox ( )

Geographic bounding box of route polyline from current position to end position

Returns
Geographic bounding box

◆ getTransportMode()

.TransportMode int com.sygic.sdk.navigation.RouteProgress.getTransportMode ( )

Transport mode currently using on the route

Returns
transport mode

◆ hashCode()

int com.sygic.sdk.navigation.RouteProgress.hashCode ( )

◆ toString()

String com.sygic.sdk.navigation.RouteProgress.toString ( )

◆ writeToParcel()

void com.sygic.sdk.navigation.RouteProgress.writeToParcel ( final Parcel  dest,
final int  flags 
)

Member Data Documentation

◆ CREATOR

final Parcelable.Creator<RouteProgress> com.sygic.sdk.navigation.RouteProgress.CREATOR
static
Initial value:
= new Parcelable.Creator<RouteProgress>() {
@Override
public RouteProgress createFromParcel(final Parcel source) {
return new RouteProgress(source);
}
@Override
public RouteProgress[] newArray(final int size) {
return new RouteProgress[size];
}
}

The documentation for this class was generated from the following file: