- Developers
- Sygic Mobile Telematics SDK
- Android Library
- Trip control
Trip control
Introduction
Documentation is provided using Kotlin language.
Enable automatic trip detection
Make trip detection automatic or not.
Enable automatic trip detection
Driving.getInstance().enableTripDetection()
Disable automatic trip detection
Driving.getInstance().disableTripDetection()
Enable manual trip start and end
Trip detection is typically automatic, but you can control it manually.
Start trip manually
Driving.getInstance().startTrip()
Start trip manually, trip will not end automatically
Driving.getInstance().startTripWithManualEnd()
End trip manually
Driving.getInstance().endTrip()