#pragma once #include #include "bitmap.hpp" namespace mbgl { namespace android { class BitmapFactory { public: static constexpr auto Name() { return "android/graphics/BitmapFactory"; }; static void registerNative(jni::JNIEnv&); static jni::Object DecodeByteArray(jni::JNIEnv&, jni::Array data, jni::jint offset, jni::jint length); private: static jni::Class _class; }; } // namespace android } // namespace mbgl