[android] jni.hpp 4.0.0

This commit is contained in:
John Firebaugh
2018-08-22 12:27:43 -07:00
parent 5911e3b13f
commit 79bf0e8af6
156 changed files with 1765 additions and 2161 deletions

View File

@@ -8,12 +8,13 @@ namespace mbgl {
namespace android {
namespace gson {
class JsonElement : public jni::ObjectTag {
class JsonElement {
public:
using SuperTag = jni::ObjectTag;
static constexpr auto Name() { return "com/google/gson/JsonElement"; };
static jni::Object<JsonElement> New(jni::JNIEnv&, const mbgl::Value&);
static mbgl::Value convert(JNIEnv&, jni::Object<JsonElement>);
static jni::Local<jni::Object<JsonElement>> New(jni::JNIEnv&, const mbgl::Value&);
static mbgl::Value convert(JNIEnv&, const jni::Object<JsonElement>&);
static void registerNative(jni::JNIEnv&);
};