- Deprecated:
- DriversBehavior will no longer be available in the next releases of SygicMapsSDK
◆ addTripListener()
void com.sygic.sdk.driving.Log.addTripListener |
( |
@NonNull final TripListener |
listener | ) |
|
Start listening to trip events.
◆ endTrip() [1/2]
void com.sygic.sdk.driving.Log.endTrip |
( |
GeoPosition |
position | ) |
|
End trip at position and current time
◆ endTrip() [2/2]
void com.sygic.sdk.driving.Log.endTrip |
( |
GeoPosition |
position, |
|
|
long |
endTimestamp |
|
) |
| |
End trip at position and time defined by arguments
◆ finalize()
void com.sygic.sdk.driving.Log.finalize |
( |
| ) |
throws Throwable |
|
protected |
◆ getCurrentTrip()
Trip com.sygic.sdk.driving.Log.getCurrentTrip |
( |
| ) |
|
Return current trip, see Trip
◆ getTrip()
Trip com.sygic.sdk.driving.Log.getTrip |
( |
int |
index | ) |
|
Return trip by index, see Trip
◆ getTripCount()
int com.sygic.sdk.driving.Log.getTripCount |
( |
| ) |
|
Get count of logged trips.
◆ removeTripListener()
void com.sygic.sdk.driving.Log.removeTripListener |
( |
@NonNull final TripListener |
listener | ) |
|
Stop listening to trip events.
◆ startTrip() [1/2]
void com.sygic.sdk.driving.Log.startTrip |
( |
GeoPosition |
position | ) |
|
Start trip at position and current time
◆ startTrip() [2/2]
void com.sygic.sdk.driving.Log.startTrip |
( |
GeoPosition |
position, |
|
|
long |
startTimestamp |
|
) |
| |
Start trip at at position and time defined by arguments
The documentation for this class was generated from the following file: