JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce_android_JNIHelpers.h File Reference

Classes

class  juce::ActivityLifecycleCallbacks
 
class  juce::AndroidInterfaceImplementer
 
class  juce::FragmentOverlay
 
class  juce::GlobalRef
 
class  juce::JNIClassBase
 
class  juce::LocalRef< JavaType >
 
struct  juce::SurfaceHolderCallback
 

Namespaces

 juce
 
 juce::anonymous_namespace{juce_android_JNIHelpers.h}
 

Macros

#define CREATE_JNI_CALLBACK(callbackName, stringName, signature)   callbacks.add ({stringName, signature, (void*) callbackName});
 
#define CREATE_JNI_FIELD(fieldID, stringName, signature)   fieldID = resolveField (env, stringName, signature);
 
#define CREATE_JNI_METHOD(methodID, stringName, params)   methodID = resolveMethod (env, stringName, params);
 
#define CREATE_JNI_STATICFIELD(fieldID, stringName, signature)   fieldID = resolveStaticField (env, stringName, signature);
 
#define CREATE_JNI_STATICMETHOD(methodID, stringName, params)   methodID = resolveStaticMethod (env, stringName, params);
 
#define DECLARE_CALL_TYPE_METHOD(returnType, typeName)
 
#define DECLARE_JNI_CALLBACK(fieldID, stringName, signature)
 
#define DECLARE_JNI_CLASS(CppClassName, javaPath)   DECLARE_JNI_CLASS_WITH_MIN_SDK (CppClassName, javaPath, 16)
 
#define DECLARE_JNI_CLASS_WITH_BYTECODE(CppClassName, javaPath, minSDK, byteCodeData, byteCodeSize)
 
#define DECLARE_JNI_CLASS_WITH_MIN_SDK(CppClassName, javaPath, minSDK)   DECLARE_JNI_CLASS_WITH_BYTECODE (CppClassName, javaPath, minSDK, nullptr, 0)
 
#define DECLARE_JNI_FIELD(fieldID, stringName, signature)   jfieldID fieldID;
 
#define DECLARE_JNI_METHOD(methodID, stringName, params)   jmethodID methodID;
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   STATICMETHOD (valueOf, "valueOf", "(Ljava/lang/String;)Landroid/graphics/Bitmap$Config;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   STATICMETHOD (decodeByteArray, "decodeByteArray", "([BII)Landroid/graphics/Bitmap;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   STATICMETHOD (dumpReferenceTables, "dumpReferenceTables", "()V")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   METHOD (toString, "toString", "()Ljava/lang/String;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   METHOD (getDefaultDisplay, "getDefaultDisplay", "()Landroid/view/Display;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   METHOD (toString, "toString", "()Ljava/lang/String;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   METHOD (toString, "toString", "()Ljava/lang/String;")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)   METHOD (constructor, "<init>", "(J)V")
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
 
#define JUCE_LOG_JNI_REFERENCES_TABLE   getEnv()->CallStaticVoidMethod (AndroidDebug, AndroidDebug.dumpReferenceTables);
 

Functions

bool juce::androidHasSystemFeature (const String &property)
 
String juce::audioManagerGetProperty (const String &property)
 
LocalRef< jobject > juce::CreateJavaInterface (AndroidInterfaceImplementer *implementer, const StringArray &interfaceNames, LocalRef< jobject > subclass)
 
LocalRef< jobject > juce::CreateJavaInterface (AndroidInterfaceImplementer *implementer, const StringArray &interfaceNames)
 
LocalRef< jobject > juce::CreateJavaInterface (AndroidInterfaceImplementer *implementer, const String &interfaceName)
 
int juce::getAndroidSDKVersion ()
 
LocalRef< jobject > juce::getAppContext () noexcept
 
LocalRef< jobject > juce::getCurrentActivity () noexcept
 
JNIEnv * juce::getEnv () noexcept
 
LocalRef< jobject > juce::getMainActivity () noexcept
 
bool juce::isPermissionDeclaredInManifest (const String &requestedPermission)
 
LocalRef< jstring > juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaString (const String &s)
 
StringArray juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaStringArrayToJuce (const LocalRef< jobjectArray > &javaArray)
 
LocalRef< jstring > juce::anonymous_namespace{juce_android_JNIHelpers.h}::javaStringFromChar (const juce_wchar c)
 
bool juce::anonymous_namespace{juce_android_JNIHelpers.h}::jniCheckHasExceptionOccurredAndClear ()
 
void juce::juce_dispatchDelete (JNIEnv *, jobject, jlong)
 
jobject juce::juce_invokeImplementer (JNIEnv *, jobject, jlong, jobject, jobject, jobjectArray)
 
String juce::anonymous_namespace{juce_android_JNIHelpers.h}::juceString (JNIEnv *env, jstring s)
 
String juce::anonymous_namespace{juce_android_JNIHelpers.h}::juceString (jstring s)
 
LocalRef< jobjectArray > juce::anonymous_namespace{juce_android_JNIHelpers.h}::juceStringArrayToJava (const StringArray &juceArray)
 
void juce::startAndroidActivityForResult (const LocalRef< jobject > &intent, int requestCode, std::function< void(int, int, LocalRef< jobject >)> &&callback)
 

Macro Definition Documentation

◆ CREATE_JNI_CALLBACK

#define CREATE_JNI_CALLBACK (   callbackName,
  stringName,
  signature 
)    callbacks.add ({stringName, signature, (void*) callbackName});

◆ CREATE_JNI_FIELD

#define CREATE_JNI_FIELD (   fieldID,
  stringName,
  signature 
)    fieldID = resolveField (env, stringName, signature);

◆ CREATE_JNI_METHOD

#define CREATE_JNI_METHOD (   methodID,
  stringName,
  params 
)    methodID = resolveMethod (env, stringName, params);

◆ CREATE_JNI_STATICFIELD

#define CREATE_JNI_STATICFIELD (   fieldID,
  stringName,
  signature 
)    fieldID = resolveStaticField (env, stringName, signature);

◆ CREATE_JNI_STATICMETHOD

#define CREATE_JNI_STATICMETHOD (   methodID,
  stringName,
  params 
)    methodID = resolveStaticMethod (env, stringName, params);

◆ DECLARE_CALL_TYPE_METHOD

#define DECLARE_CALL_TYPE_METHOD (   returnType,
  typeName 
)
Value:
returnType call##typeName##Method (jmethodID methodID, ... ) const \
{ \
va_list args; \
va_start (args, methodID); \
returnType result = getEnv()->Call##typeName##MethodV (obj, methodID, args); \
va_end (args); \
return result; \
}
JNIEnv * getEnv() noexcept

◆ DECLARE_JNI_CALLBACK

#define DECLARE_JNI_CALLBACK (   fieldID,
  stringName,
  signature 
)

◆ DECLARE_JNI_CLASS

#define DECLARE_JNI_CLASS (   CppClassName,
  javaPath 
)    DECLARE_JNI_CLASS_WITH_MIN_SDK (CppClassName, javaPath, 16)

◆ DECLARE_JNI_CLASS_WITH_BYTECODE

#define DECLARE_JNI_CLASS_WITH_BYTECODE (   CppClassName,
  javaPath,
  minSDK,
  byteCodeData,
  byteCodeSize 
)
Value:
class CppClassName ## _Class : public JNIClassBase \
{ \
public: \
CppClassName ## _Class() : JNIClassBase (javaPath, minSDK, byteCodeData, byteCodeSize) {} \
\
void initialiseFields (JNIEnv* env) \
{ \
Array<JNINativeMethod> callbacks; \
resolveCallbacks (env, callbacks); \
} \
}; \
static CppClassName ## _Class CppClassName;
#define JNI_CLASS_MEMBERS(METHOD, STATICMETHOD, FIELD, STATICFIELD, CALLBACK)
Definition: juce_android_JNIHelpers.h:745
#define CREATE_JNI_FIELD(fieldID, stringName, signature)
Definition: juce_android_JNIHelpers.h:209
#define DECLARE_JNI_CALLBACK(fieldID, stringName, signature)
Definition: juce_android_JNIHelpers.h:214
#define CREATE_JNI_METHOD(methodID, stringName, params)
Definition: juce_android_JNIHelpers.h:207
#define DECLARE_JNI_FIELD(fieldID, stringName, signature)
Definition: juce_android_JNIHelpers.h:213
#define DECLARE_JNI_METHOD(methodID, stringName, params)
Definition: juce_android_JNIHelpers.h:212
#define CREATE_JNI_CALLBACK(callbackName, stringName, signature)
Definition: juce_android_JNIHelpers.h:211
#define CREATE_JNI_STATICFIELD(fieldID, stringName, signature)
Definition: juce_android_JNIHelpers.h:210
#define CREATE_JNI_STATICMETHOD(methodID, stringName, params)
Definition: juce_android_JNIHelpers.h:208

Referenced by VideoComponent::Pimpl::MediaSession::Controller::stateChanged().

◆ DECLARE_JNI_CLASS_WITH_MIN_SDK

#define DECLARE_JNI_CLASS_WITH_MIN_SDK (   CppClassName,
  javaPath,
  minSDK 
)    DECLARE_JNI_CLASS_WITH_BYTECODE (CppClassName, javaPath, minSDK, nullptr, 0)

◆ DECLARE_JNI_FIELD

#define DECLARE_JNI_FIELD (   fieldID,
  stringName,
  signature 
)    jfieldID fieldID;

◆ DECLARE_JNI_METHOD

#define DECLARE_JNI_METHOD (   methodID,
  stringName,
  params 
)    jmethodID methodID;

◆ JNI_CLASS_MEMBERS [1/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getAssets, "getAssets", "()Landroid/content/res/AssetManager;") \
METHOD (getSystemService, "getSystemService", "(Ljava/lang/String;)Ljava/lang/Object;") \
METHOD (getPackageManager, "getPackageManager", "()Landroid/content/pm/PackageManager;") \
METHOD (getPackageName, "getPackageName", "()Ljava/lang/String;") \
METHOD (getResources, "getResources", "()Landroid/content/res/Resources;") \
METHOD (bindService, "bindService", "(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z") \
METHOD (unbindService, "unbindService", "(Landroid/content/ServiceConnection;)V") \
METHOD (startActivity, "startActivity", "(Landroid/content/Intent;)V") \
METHOD (getContentResolver, "getContentResolver", "()Landroid/content/ContentResolver;") \
METHOD (getApplicationContext, "getApplicationContext", "()Landroid/content/Context;") \
METHOD (getApplicationInfo, "getApplicationInfo", "()Landroid/content/pm/ApplicationInfo;") \
METHOD (checkCallingOrSelfPermission, "checkCallingOrSelfPermission", "(Ljava/lang/String;)I") \
METHOD (getCacheDir, "getCacheDir", "()Ljava/io/File;")

◆ JNI_CLASS_MEMBERS [2/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (finish, "finish", "()V") \
METHOD (getWindowManager, "getWindowManager", "()Landroid/view/WindowManager;") \
METHOD (setRequestedOrientation, "setRequestedOrientation", "(I)V") \
METHOD (startIntentSenderForResult, "startIntentSenderForResult", "(Landroid/content/IntentSender;ILandroid/content/Intent;III)V") \
METHOD (moveTaskToBack, "moveTaskToBack", "(Z)Z") \
METHOD (startActivityForResult, "startActivityForResult", "(Landroid/content/Intent;I)V") \
METHOD (getFragmentManager, "getFragmentManager", "()Landroid/app/FragmentManager;") \
METHOD (setContentView, "setContentView", "(Landroid/view/View;)V") \
METHOD (getWindow, "getWindow", "()Landroid/view/Window;")

◆ JNI_CLASS_MEMBERS [3/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (startActivityForResult, "startActivityForResult", "(Landroid/content/Intent;I)V") \
METHOD (setArguments, "setArguments", "(Landroid/os/Bundle;)V")

◆ JNI_CLASS_MEMBERS [4/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (build, "build", "()Landroid/media/AudioAttributes;") \
METHOD (constructor, "<init>", "()V") \
METHOD (setContentType, "setContentType", "(I)Landroid/media/AudioAttributes$Builder;") \
METHOD (setUsage, "setUsage", "(I)Landroid/media/AudioAttributes$Builder;")

◆ JNI_CLASS_MEMBERS [5/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (abandonAudioFocus, "abandonAudioFocus", "(Landroid/media/AudioManager$OnAudioFocusChangeListener;)I") \
METHOD (requestAudioFocus, "requestAudioFocus", "(Landroid/media/AudioManager$OnAudioFocusChangeListener;II)I")

◆ JNI_CLASS_MEMBERS [6/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (createBitmap, "createBitmap", "(IILandroid/graphics/Bitmap$Config;)Landroid/graphics/Bitmap;") \
STATICMETHOD (createBitmapFrom, "createBitmap", "(Landroid/graphics/Bitmap;IIIILandroid/graphics/Matrix;Z)Landroid/graphics/Bitmap;") \
METHOD (compress, "compress", "(Landroid/graphics/Bitmap$CompressFormat;ILjava/io/OutputStream;)Z") \
METHOD (getHeight, "getHeight", "()I") \
METHOD (getWidth, "getWidth", "()I") \
METHOD (recycle, "recycle", "()V") \
METHOD (setPixel, "setPixel", "(III)V") \
METHOD (getPixels, "getPixels", "([IIIIIII)V")

◆ JNI_CLASS_MEMBERS [7/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    STATICMETHOD (valueOf, "valueOf", "(Ljava/lang/String;)Landroid/graphics/Bitmap$Config;")

◆ JNI_CLASS_MEMBERS [8/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    STATICMETHOD (decodeByteArray, "decodeByteArray", "([BII)Landroid/graphics/Bitmap;")

◆ JNI_CLASS_MEMBERS [9/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (containsKey, "containsKey", "(Ljava/lang/String;)Z") \
METHOD (get, "get", "(Ljava/lang/String;)Ljava/lang/Object;") \
METHOD (getBoolean, "getBoolean", "(Ljava/lang/String;)Z") \
METHOD (getBundle, "getBundle", "(Ljava/lang/String;)Landroid/os/Bundle;") \
METHOD (getCharSequence, "getCharSequence", "(Ljava/lang/String;)Ljava/lang/CharSequence;") \
METHOD (getInt, "getInt", "(Ljava/lang/String;)I") \
METHOD (getLong, "getLong", "(Ljava/lang/String;)J") \
METHOD (getLongArray, "getLongArray", "(Ljava/lang/String;)[J") \
METHOD (getParcelable, "getParcelable", "(Ljava/lang/String;)Landroid/os/Parcelable;") \
METHOD (getString, "getString", "(Ljava/lang/String;)Ljava/lang/String;") \
METHOD (getStringArrayList, "getStringArrayList", "(Ljava/lang/String;)Ljava/util/ArrayList;") \
METHOD (keySet, "keySet", "()Ljava/util/Set;") \
METHOD (putBoolean, "putBoolean", "(Ljava/lang/String;Z)V") \
METHOD (putBundle, "putBundle", "(Ljava/lang/String;Landroid/os/Bundle;)V") \
METHOD (putFloat, "putFloat", "(Ljava/lang/String;F)V") \
METHOD (putInt, "putInt", "(Ljava/lang/String;I)V") \
METHOD (putLong, "putLong", "(Ljava/lang/String;J)V") \
METHOD (putLongArray, "putLongArray", "(Ljava/lang/String;[J)V") \
METHOD (putString, "putString", "(Ljava/lang/String;Ljava/lang/String;)V") \
METHOD (putStringArrayList, "putStringArrayList", "(Ljava/lang/String;Ljava/util/ArrayList;)V")

◆ JNI_CLASS_MEMBERS [10/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    STATICMETHOD (dumpReferenceTables, "dumpReferenceTables", "()V")

◆ JNI_CLASS_MEMBERS [11/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getRotation, "getRotation", "()I") \
METHOD (getMetrics, "getMetrics", "(Landroid/util/DisplayMetrics;)V" ) \
METHOD (getSize, "getSize", "(Landroid/graphics/Point;)V" )

◆ JNI_CLASS_MEMBERS [12/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (constructorWithLooper, "<init>", "(Landroid/os/Looper;)V") \
METHOD (post, "post", "(Ljava/lang/Runnable;)Z") \
METHOD (postDelayed, "postDelayed", "(Ljava/lang/Runnable;J)Z") \

◆ JNI_CLASS_MEMBERS [13/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Ljava/lang/String;)V") \
METHOD (getLooper, "getLooper", "()Landroid/os/Looper;") \
METHOD (join, "join", "()V") \
METHOD (start, "start", "()V")

◆ JNI_CLASS_MEMBERS [14/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (createChooser, "createChooser", "(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;") \
METHOD (addCategory, "addCategory", "(Ljava/lang/String;)Landroid/content/Intent;") \
METHOD (constructor, "<init>", "()V") \
METHOD (constructorWithContextAndClass, "<init>", "(Landroid/content/Context;Ljava/lang/Class;)V") \
METHOD (constructWithString, "<init>", "(Ljava/lang/String;)V") \
METHOD (constructWithUri, "<init>", "(Ljava/lang/String;Landroid/net/Uri;)V") \
METHOD (getAction, "getAction", "()Ljava/lang/String;") \
METHOD (getCategories, "getCategories", "()Ljava/util/Set;") \
METHOD (getData, "getData", "()Landroid/net/Uri;") \
METHOD (getExtras, "getExtras", "()Landroid/os/Bundle;") \
METHOD (getIntExtra, "getIntExtra", "(Ljava/lang/String;I)I") \
METHOD (getStringExtra, "getStringExtra", "(Ljava/lang/String;)Ljava/lang/String;") \
METHOD (putExtra, "putExtra", "(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;") \
METHOD (putExtras, "putExtras", "(Landroid/os/Bundle;)Landroid/content/Intent;") \
METHOD (putExtraString, "putExtra", "(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;") \
METHOD (putExtraStrings, "putExtra", "(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;") \
METHOD (putExtraParcelable, "putExtra", "(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;") \
METHOD (putParcelableArrayListExtra, "putParcelableArrayListExtra", "(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;") \
METHOD (setAction, "setAction", "(Ljava/lang/String;)Landroid/content/Intent;") \
METHOD (setFlags, "setFlags", "(I)Landroid/content/Intent;") \
METHOD (setPackage, "setPackage", "(Ljava/lang/String;)Landroid/content/Intent;") \
METHOD (setType, "setType", "(Ljava/lang/String;)Landroid/content/Intent;") \

◆ JNI_CLASS_MEMBERS [15/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (postRotate, "postRotate", "(FFF)Z") \
METHOD (postScale, "postScale", "(FFFF)Z") \
METHOD (postTranslate, "postTranslate", "(FF)Z") \
METHOD (setValues, "setValues", "([F)V") \
METHOD (mapRect, "mapRect", "(Landroid/graphics/RectF;)Z")

◆ JNI_CLASS_MEMBERS [16/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getPackageInfo, "getPackageInfo", "(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;") \
METHOD (resolveActivity, "resolveActivity", "(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;") \
METHOD (hasSystemFeature, "hasSystemFeature", "(Ljava/lang/String;)Z")

◆ JNI_CLASS_MEMBERS [17/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
FIELD (requestedPermissions, "requestedPermissions", "[Ljava/lang/String;") \
FIELD (activities, "activities", "[Landroid/content/pm/ActivityInfo;") \
FIELD (providers, "providers", "[Landroid/content/pm/ProviderInfo;")

◆ JNI_CLASS_MEMBERS [18/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
FIELD (name, "name", "Ljava/lang/String;") \
FIELD (packageName, "packageName", "Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [19/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(I)V") \
METHOD (setColor, "setColor", "(I)V") \
METHOD (setAlpha, "setAlpha", "(I)V") \
METHOD (setTypeface, "setTypeface", "(Landroid/graphics/Typeface;)Landroid/graphics/Typeface;") \
METHOD (ascent, "ascent", "()F") \
METHOD (descent, "descent", "()F") \
METHOD (setTextSize, "setTextSize", "(F)V") \
METHOD (getTextWidths, "getTextWidths", "(Ljava/lang/String;[F)I") \
METHOD (setTextScaleX, "setTextScaleX", "(F)V") \
METHOD (getTextPath, "getTextPath", "(Ljava/lang/String;IIFFLandroid/graphics/Path;)V") \
METHOD (getCharsPath, "getTextPath", "([CIIFFLandroid/graphics/Path;)V") \
METHOD (setShader, "setShader", "(Landroid/graphics/Shader;)Landroid/graphics/Shader;") \

◆ JNI_CLASS_MEMBERS [20/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (create, "<init>", "(Landroid/graphics/Bitmap;)V") \
METHOD (setMatrix, "setMatrix", "(Landroid/graphics/Matrix;)V") \
METHOD (drawPath, "drawPath", "(Landroid/graphics/Path;Landroid/graphics/Paint;)V") \
METHOD (drawBitmap, "drawBitmap", "([IIIFFIIZLandroid/graphics/Paint;)V") \
METHOD (getClipBounds, "getClipBounds", "()Landroid/graphics/Rect;")

◆ JNI_CLASS_MEMBERS [21/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (getActivity, "getActivity", "(Landroid/content/Context;ILandroid/content/Intent;I)Landroid/app/PendingIntent;") \
METHOD (getIntentSender, "getIntentSender", "()Landroid/content/IntentSender;")

◆ JNI_CLASS_MEMBERS [22/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    METHOD (toString, "toString", "()Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [23/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (create, "<init>", "(II)V") \
FIELD (x, "x", "I") \
FIELD (y, "y", "I")

◆ JNI_CLASS_MEMBERS [24/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(IIII)V") \
FIELD (left, "left", "I") \
FIELD (right, "right", "I") \
FIELD (top, "top", "I") \
FIELD (bottom, "bottom", "I")

◆ JNI_CLASS_MEMBERS [25/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getIdentifier, "getIdentifier", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)I") \
METHOD (openRawResourceFd, "openRawResourceFd", "(I)Landroid/content/res/AssetFileDescriptor;")

◆ JNI_CLASS_MEMBERS [26/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getHeight, "getHeight", "()I") \
METHOD (getWidth, "getWidth", "()I")

◆ JNI_CLASS_MEMBERS [27/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (parse, "parse", "(Ljava/lang/String;)Landroid/net/Uri;") \
METHOD (toString, "toString", "()Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [28/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (construct, "<init>", "(Landroid/content/Context;)V") \
METHOD (layout, "layout", "(IIII)V") \
METHOD (getLeft, "getLeft", "()I") \
METHOD (getTop, "getTop", "()I") \
METHOD (getWidth, "getWidth", "()I") \
METHOD (getHeight, "getHeight", "()I") \
METHOD (getLocationOnScreen, "getLocationOnScreen", "([I)V") \
METHOD (getParent, "getParent", "()Landroid/view/ViewParent;") \
METHOD (bringToFront, "bringToFront", "()V") \
METHOD (requestFocus, "requestFocus", "()Z") \
METHOD (hasFocus, "hasFocus", "()Z") \
METHOD (invalidate, "invalidate", "(IIII)V") \
METHOD (setVisibility, "setVisibility", "(I)V") \
METHOD (setLayoutParams, "setLayoutParams", "(Landroid/view/ViewGroup$LayoutParams;)V") \
METHOD (findViewById, "findViewById", "(I)Landroid/view/View;") \
METHOD (getRootView, "getRootView", "()Landroid/view/View;") \
METHOD (addOnLayoutChangeListener, "addOnLayoutChangeListener", "(Landroid/view/View$OnLayoutChangeListener;)V")

◆ JNI_CLASS_MEMBERS [29/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (addView, "addView", "(Landroid/view/View;)V") \
METHOD (removeView, "removeView", "(Landroid/view/View;)V")

◆ JNI_CLASS_MEMBERS [30/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    METHOD (getDefaultDisplay, "getDefaultDisplay", "()Landroid/view/Display;")

◆ JNI_CLASS_MEMBERS [31/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(I)V") \
METHOD (add, "add", "(Ljava/lang/Object;)Z") \
METHOD (iterator, "iterator", "()Ljava/util/Iterator;") \
METHOD (get, "get", "(I)Ljava/lang/Object;") \
METHOD (size, "size", "()I")

◆ JNI_CLASS_MEMBERS [32/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (valueOf, "valueOf", "(Z)Ljava/lang/Boolean;") \
METHOD (booleanValue, "booleanValue", "()Z")

◆ JNI_CLASS_MEMBERS [33/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (get, "get", "([B)Ljava/nio/ByteBuffer;") \
METHOD (remaining, "remaining", "()I") \
STATICMETHOD (wrap, "wrap", "([B)Ljava/nio/ByteBuffer;")

◆ JNI_CLASS_MEMBERS [34/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    METHOD (toString, "toString", "()Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [35/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (forName, "forName", "(Ljava/lang/String;)Ljava/lang/Class;") \
METHOD (getName, "getName", "()Ljava/lang/String;") \
METHOD (getModifiers, "getModifiers", "()I") \
METHOD (isAnnotation, "isAnnotation", "()Z") \
METHOD (isAnonymousClass, "isAnonymousClass", "()Z") \
METHOD (isArray, "isArray", "()Z") \
METHOD (isEnum, "isEnum", "()Z") \
METHOD (isInterface, "isInterface", "()Z") \
METHOD (isLocalClass, "isLocalClass", "()Z") \
METHOD (isMemberClass, "isMemberClass", "()Z") \
METHOD (isPrimitive, "isPrimitive", "()Z") \
METHOD (isSynthetic, "isSynthetic", "()Z") \
METHOD (getComponentType, "getComponentType", "()Ljava/lang/Class;") \
METHOD (getSuperclass, "getSuperclass", "()Ljava/lang/Class;") \
METHOD (getClassLoader, "getClassLoader", "()Ljava/lang/ClassLoader;") \

◆ JNI_CLASS_MEMBERS [36/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    METHOD (toString, "toString", "()Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [37/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Ljava/lang/String;)V") \
METHOD (getAbsolutePath, "getAbsolutePath", "()Ljava/lang/String;") \
METHOD (length, "length", "()J")

◆ JNI_CLASS_MEMBERS [38/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Ljava/lang/String;)V") \
METHOD (close, "close", "()V") \
METHOD (read, "read", "([B)I")

◆ JNI_CLASS_MEMBERS [39/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Ljava/lang/String;)V") \
METHOD (close, "close", "()V") \
METHOD (write, "write", "([BII)V")

◆ JNI_CLASS_MEMBERS [40/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (constructorWithCapacity, "<init>", "(I)V")

◆ JNI_CLASS_MEMBERS [41/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
STATICMETHOD (parseInt, "parseInt", "(Ljava/lang/String;I)I") \
STATICMETHOD (valueOf, "valueOf", "(I)Ljava/lang/Integer;") \
METHOD (intValue, "intValue", "()I")

◆ JNI_CLASS_MEMBERS [42/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (hasNext, "hasNext", "()Z") \
METHOD (next, "next", "()Ljava/lang/Object;")

◆ JNI_CLASS_MEMBERS [43/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (get, "get", "(I)Ljava/lang/Object;") \
METHOD (size, "size", "()I")

◆ JNI_CLASS_MEMBERS [44/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)    METHOD (constructor, "<init>", "(J)V")

◆ JNI_CLASS_MEMBERS [45/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (get, "get", "(Ljava/lang/Object;)Ljava/lang/Object;") \
METHOD (keySet, "keySet", "()Ljava/util/Set;") \
METHOD (put, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;")

◆ JNI_CLASS_MEMBERS [46/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getName, "getName", "()Ljava/lang/String;") \
METHOD (getModifiers, "getModifiers", "()I") \
METHOD (getParameterTypes, "getParameterTypes", "()[Ljava/lang/Class;") \
METHOD (getReturnType, "getReturnType", "()Ljava/lang/Class;") \
METHOD (invoke, "invoke", "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;") \
METHOD (hashCode, "hashCode", "()I") \
METHOD (equals, "equals", "(Ljava/lang/Object;)Z") \

◆ JNI_CLASS_MEMBERS [47/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "()V") \
METHOD (getClass, "getClass", "()Ljava/lang/Class;") \
METHOD (toString, "toString", "()Ljava/lang/String;")

◆ JNI_CLASS_MEMBERS [48/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (contains, "contains", "(Ljava/lang/Object;)Z") \
METHOD (iterator, "iterator", "()Ljava/util/Iterator;") \
METHOD (size, "size", "()I")

◆ JNI_CLASS_MEMBERS [49/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (concat, "concat", "(Ljava/lang/String;)Ljava/lang/String;") \
METHOD (getBytes, "getBytes", "()[B")

◆ JNI_CLASS_MEMBERS [50/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)

◆ JNI_CLASS_MEMBERS [51/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)

◆ JNI_CLASS_MEMBERS [52/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (registerActivityLifecycleCallbacks, "registerActivityLifecycleCallbacks", "(Landroid/app/Application$ActivityLifecycleCallbacks;)V") \
METHOD (unregisterActivityLifecycleCallbacks, "unregisterActivityLifecycleCallbacks", "(Landroid/app/Application$ActivityLifecycleCallbacks;)V")

◆ JNI_CLASS_MEMBERS [53/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (constructor, "<init>", "(Landroid/content/Context;)V") \
METHOD (getHolder, "getHolder", "()Landroid/view/SurfaceHolder;") \
METHOD (getParent, "getParent", "()Landroid/view/ViewParent;")

◆ JNI_CLASS_MEMBERS [54/54]

#define JNI_CLASS_MEMBERS (   METHOD,
  STATICMETHOD,
  FIELD,
  STATICFIELD,
  CALLBACK 
)
Value:
METHOD (getSurface, "getSurface", "()Landroid/view/Surface;") \
METHOD (addCallback, "addCallback", "(Landroid/view/SurfaceHolder$Callback;)V") \
METHOD (removeCallback, "removeCallback", "(Landroid/view/SurfaceHolder$Callback;)V")

◆ JUCE_LOG_JNI_REFERENCES_TABLE

#define JUCE_LOG_JNI_REFERENCES_TABLE   getEnv()->CallStaticVoidMethod (AndroidDebug, AndroidDebug.dumpReferenceTables);