startDriveWithPeriod3

fun startDriveWithPeriod3(context: Context, trackingId: String, fairmaticOperationCallback: FairmaticOperationCallback?)

Call this method once the driver starts the ride or delivery A manual trip with the given trackingId will be started immediately. The entire duration in this period will be recorded as a single trip. If this is already in progress with the same trackingId, this call will be a no-op.

Parameters

context
  • is the context object of the enclosing application.

trackingId
  • an identifier which allows identifying this drive uniquely. This identifier must be unique for this user. It may not be null or a empty string.

fairmaticOperationCallback

FairmaticOperationCallback - called with the result of the operation