Flutter Engine
The Flutter Engine
|
#include <jni.h>
#include <vector>
#include "flutter/fml/macros.h"
#include "flutter/fml/platform/android/scoped_java_ref.h"
Go to the source code of this file.
Namespaces | |
namespace | fml |
namespace | fml::jni |
Functions | |
void | fml::jni::InitJavaVM (JavaVM *vm) |
JNIEnv * | fml::jni::AttachCurrentThread () |
void | fml::jni::DetachFromVM () |
std::string | fml::jni::JavaStringToString (JNIEnv *env, jstring str) |
ScopedJavaLocalRef< jstring > | fml::jni::StringToJavaString (JNIEnv *env, const std::string &u8_string) |
std::vector< std::string > | fml::jni::StringArrayToVector (JNIEnv *env, jobjectArray array) |
std::vector< std::string > | fml::jni::StringListToVector (JNIEnv *env, jobject list) |
ScopedJavaLocalRef< jobjectArray > | fml::jni::VectorToStringArray (JNIEnv *env, const std::vector< std::string > &vector) |
ScopedJavaLocalRef< jobjectArray > | fml::jni::VectorToBufferArray (JNIEnv *env, const std::vector< std::vector< uint8_t > > &vector) |
bool | fml::jni::HasException (JNIEnv *env) |
bool | fml::jni::ClearException (JNIEnv *env, bool silent) |
bool | fml::jni::CheckException (JNIEnv *env) |
std::string | fml::jni::GetJavaExceptionInfo (JNIEnv *env, jthrowable java_throwable) |