MobileFFmpeg Android API  2.0
Functions | Variables
abidetect.c File Reference

Go to the source code of this file.

Functions

jint JNI_OnLoad (JavaVM *vm, void *reserved)
 
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getAbi (JNIEnv *env, jclass object)
 

Variables

const char * abiDetectClassName = "com/arthenica/mobileffmpeg/AbiDetect"
 
JNINativeMethod abiDetectMethods []
 

Function Documentation

◆ Java_com_arthenica_mobileffmpeg_AbiDetect_getAbi()

JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getAbi ( JNIEnv *  env,
jclass  object 
)

Returns running ABI name.

Parameters
envpointer to native method interface
objectreference to the class on which this method is invoked
Returns
running ABI name as UTF string

Definition at line 66 of file abidetect.c.

◆ JNI_OnLoad()

jint JNI_OnLoad ( JavaVM *  vm,
void *  reserved 
)

Called when 'abidetect' native library is loaded.

Parameters
vmpointer to the running virtual machine
reservedreserved
Returns
JNI version needed by 'abidetect' library

Definition at line 38 of file abidetect.c.

Variable Documentation

◆ abiDetectClassName

const char* abiDetectClassName = "com/arthenica/mobileffmpeg/AbiDetect"

Full name of the Java class that owns native functions in this file.

Definition at line 24 of file abidetect.c.

◆ abiDetectMethods

JNINativeMethod abiDetectMethods[]
Initial value:
= {
{"getAbi", "()Ljava/lang/String;", (void*) Java_com_arthenica_mobileffmpeg_AbiDetect_getAbi}
}
JNIEXPORT jstring JNICALL Java_com_arthenica_mobileffmpeg_AbiDetect_getAbi(JNIEnv *env, jclass object)
Definition: abidetect.c:66

Prototypes of native functions defined by this file.

Definition at line 27 of file abidetect.c.