blob: 6bbe7f34b3e14af68ae99c39067ef8f81b41c51c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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 {
/**
* Called when the stale state changes.
* @param isStale true if location is stale, false otherwise
*/
void onStaleStateChange(boolean isStale);
}
|