mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
GetVersion method for linphoneCore exported
This commit is contained in:
parent
deb7ed6d93
commit
042890cdde
2 changed files with 9 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue