setTripStartListener method

Stream<DateTime> setTripStartListener()

Set a block to be invoked when a trip starts. Returns stream with the trip start date. The listener is sent delayed after confirming a trip is valid, around 30s to 130s.

Implementation

Stream<DateTime> setTripStartListener() async* {
  yield* MovesdkPlatform.instance.setTripStartListener();
}