Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'android/src/com/mapswithme/maps/api/GeoFenceFeature.java')
-rw-r--r--android/src/com/mapswithme/maps/api/GeoFenceFeature.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/android/src/com/mapswithme/maps/api/GeoFenceFeature.java b/android/src/com/mapswithme/maps/api/GeoFenceFeature.java
new file mode 100644
index 0000000000..b2670854a3
--- /dev/null
+++ b/android/src/com/mapswithme/maps/api/GeoFenceFeature.java
@@ -0,0 +1,23 @@
+package com.mapswithme.maps.api;
+
+/**
+ * Represents CampaignFeature from core.
+ */
+public class GeoFenceFeature
+{
+ public final long mwmVersion;
+ public final String countryId;
+ public final int featureIndex;
+ public final double latitude;
+ public final double longitude;
+
+ public GeoFenceFeature(long mwmVersion, String countryId, int featureIndex,
+ double latitude, double longitude)
+ {
+ this.mwmVersion = mwmVersion;
+ this.countryId = countryId;
+ this.featureIndex = featureIndex;
+ this.latitude = latitude;
+ this.longitude = longitude;
+ }
+}