aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/location/LocationProvider.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-11-18 14:01:00 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-11-18 14:01:00 +1300
commit6ec22b7a68b5334e215662e4cb83a20f9a1cad18 (patch)
tree7b8132f0a6d84611c1dde5c61afd16fea80f86f8 /src/org/traccar/location/LocationProvider.java
parent78e325196729202e416655e87cf7d1593cda2cc7 (diff)
downloadtrackermap-server-6ec22b7a68b5334e215662e4cb83a20f9a1cad18.tar.gz
trackermap-server-6ec22b7a68b5334e215662e4cb83a20f9a1cad18.tar.bz2
trackermap-server-6ec22b7a68b5334e215662e4cb83a20f9a1cad18.zip
Implement OpenCellID location provider
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();
}