ignoreCurrentTrip method

Future<void> ignoreCurrentTrip()

Ignores the current ongoing trip.

This API will set the ongoing TripState to .ignored. Ignored trips data are purged and not sent to the server.

Precondition:

  • SDK should be in an active trip.

Implementation

Future<void> ignoreCurrentTrip() {
  return MovesdkPlatform.instance.ignoreCurrentTrip();
}