On-demand Rides and Deliveries Solution is currently available only to select partners. Contact sales to learn more.

ConsumerTripOptions

Stay organized with collections Save and categorize content based on your preferences.
public abstract class ConsumerTripOptions extends Object

This class is deprecated.
Use TripModelOptions instead.

Configuration that affects active searches set in ConsumerTripManager.

Nested Class Summary

class ConsumerTripOptions.Builder Builder for ConsumerTripOptions

Constant Summary

long DEFAULT_REFRESH_INTERVAL_MILLIS

Public Constructor Summary

Public Method Summary

static ConsumerTripOptions.Builder
abstract long
getRefreshIntervalMillis()
The refresh interval in milliseconds.
abstract ConsumerTripOptions.Builder

Inherited Method Summary

Constants

public static final long DEFAULT_REFRESH_INTERVAL_MILLIS

Constant Value: 1000

Public Constructors

public ConsumerTripOptions ()

Public Methods

public static ConsumerTripOptions.Builder builder ()

public abstract long getRefreshIntervalMillis ()

The refresh interval in milliseconds. The trip will automatically refresh and notify registered callbacks of updates on this interval.

public abstract ConsumerTripOptions.Builder toBuilder ()