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
long | DEFAULT_REFRESH_INTERVAL_MILLIS |
Public Constructor Summary
Public Method Summary
static TripModelOptions.Builder |
builder()
|
abstract long |
getRefreshIntervalMillis()
The refresh interval in milliseconds.
|
abstract TripModelOptions.Builder |
Inherited Method Summary
Constants
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.