summaryrefslogtreecommitdiff
path: root/platform/android/src/geometry/lat_lng_bounds.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/geometry/lat_lng_bounds.hpp')
-rw-r--r--platform/android/src/geometry/lat_lng_bounds.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/platform/android/src/geometry/lat_lng_bounds.hpp b/platform/android/src/geometry/lat_lng_bounds.hpp
index 1c853e4b67..d51026711d 100644
--- a/platform/android/src/geometry/lat_lng_bounds.hpp
+++ b/platform/android/src/geometry/lat_lng_bounds.hpp
@@ -14,14 +14,11 @@ public:
static constexpr auto Name() { return "com/mapbox/mapboxsdk/geometry/LatLngBounds"; };
- static jni::Object<LatLngBounds> New(jni::JNIEnv&, mbgl::LatLngBounds);
+ static jni::Local<jni::Object<LatLngBounds>> New(jni::JNIEnv&, mbgl::LatLngBounds);
- static mbgl::LatLngBounds getLatLngBounds(jni::JNIEnv&, jni::Object<LatLngBounds>);
-
- static jni::Class<LatLngBounds> javaClass;
+ static mbgl::LatLngBounds getLatLngBounds(jni::JNIEnv&, const jni::Object<LatLngBounds>&);
static void registerNative(jni::JNIEnv&);
-
};