startDriveWithPeriod1

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

Call this method once the driver waits for a new ride or delivery request A manual trip with the given trackingId will be started immediately. 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