#pragma once #include "source.hpp" #include #include namespace mbgl { namespace android { class RasterDEMSource : public Source { public: using SuperTag = Source; static constexpr auto Name() { return "com/mapbox/mapboxsdk/style/sources/RasterDemSource"; }; static void registerNative(jni::JNIEnv&); RasterDEMSource(jni::JNIEnv&, const jni::String&, const jni::Object<>&, jni::jint); RasterDEMSource(jni::JNIEnv&, mbgl::style::Source&, AndroidRendererFrontend&); ~RasterDEMSource(); jni::Local getURL(jni::JNIEnv&); private: jni::Local> createJavaPeer(jni::JNIEnv&); }; // class RasterDEMSource } // namespace android } // namespace mbgl