diff options
Diffstat (limited to 'platform/android/src/mapbox.hpp')
-rw-r--r-- | platform/android/src/mapbox.hpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/android/src/mapbox.hpp b/platform/android/src/mapbox.hpp new file mode 100644 index 0000000000..813f5bf174 --- /dev/null +++ b/platform/android/src/mapbox.hpp @@ -0,0 +1,19 @@ +#pragma once + +#include "asset_manager.hpp" + +#include <jni/jni.hpp> + +namespace mbgl { +namespace android { + +class Mapbox { +public: + static constexpr auto Name() { return "com/mapbox/mapboxsdk/Mapbox"; }; + static jboolean hasInstance(jni::JNIEnv&); + static jni::Local<jni::Object<AssetManager>> getAssetManager(jni::JNIEnv&); + static void registerNative(jni::JNIEnv&); +}; + +} // namespace android +} // namespace mbgl |