Commit 042890cd authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

GetVersion method for linphoneCore exported

parent deb7ed6d
......@@ -1769,3 +1769,8 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setVideoPolicy(JNIEnv *e
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_setCpuCountNative(JNIEnv *env, jobject thiz, jint count) {
ms_set_cpu_count(count);
}
extern "C" jstring Java_org_linphone_core_LinphoneCoreImpl_getVersion(JNIEnv* env,jobject thiz,jlong ptr) {
jstring jvalue =env->NewStringUTF(linphone_core_get_version());
return jvalue;
}
......@@ -784,4 +784,8 @@ public interface LinphoneCore {
*/
public void refreshRegisters();
/**
* return the version code of linphone core
*/
public String getVersion();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment