summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/OnLocationStaleListener.java
blob: d42eddf277ee59ed6b907f212e56257187fb9445 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.mapbox.mapboxsdk.location;

/**
 * Listener that can be added as a callback when the last location update
 * is considered stale.
 * <p>
 * The time from the last location update that determines if a location update
 * is stale or not is provided by {@link LocationComponentOptions#staleStateTimeout()}.
 */
public interface OnLocationStaleListener {

  void onStaleStateChange(boolean isStale);
}