aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/location/LocationProvider.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/location/LocationProvider.java')
-rw-r--r--src/org/traccar/location/LocationProvider.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/traccar/location/LocationProvider.java b/src/org/traccar/location/LocationProvider.java
index cbc9663f8..2bff1a7ca 100644
--- a/src/org/traccar/location/LocationProvider.java
+++ b/src/org/traccar/location/LocationProvider.java
@@ -21,7 +21,9 @@ public interface LocationProvider {
interface LocationProviderCallback {
- void onResult(double latitude, double longitude);
+ void onSuccess(double latitude, double longitude);
+
+ void onFailure();
}