diff options
Diffstat (limited to 'src/org/traccar/location/LocationProvider.java')
-rw-r--r-- | src/org/traccar/location/LocationProvider.java | 4 |
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(); } |