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


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

Configuration that affects active searches set in TripModelManager.

Nested Class Summary

class TripModelOptions.Builder Builder for TripModelOptions

Constant Summary


Public Constructor Summary

Public Method Summary

static TripModelOptions.Builder
abstract long
The refresh interval in milliseconds.
abstract TripModelOptions.Builder

Inherited Method Summary


public static final long DEFAULT_REFRESH_INTERVAL_MILLIS

Constant Value: 1000

Public Constructors

public TripModelOptions ()

Public Methods

public static TripModelOptions.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 TripModelOptions.Builder toBuilder ()