mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
JNI for call pause and resume.
This commit is contained in:
parent
0601440e03
commit
918759ba07
2 changed files with 13 additions and 0 deletions
|
|
@ -1248,3 +1248,12 @@ extern "C" jboolean Java_org_linphone_core_Version_nativeHasNeon(JNIEnv *env){
|
|||
return 0;
|
||||
}
|
||||
|
||||
extern "C" jint Java_org_linphone_core_LinphoneCoreImpl_pauseCall(JNIEnv *env,jobject thiz,jlong pCore, jlong pCall) {
|
||||
return linphone_core_pause_call((LinphoneCore *) pCore, (LinphoneCall *) pCall);
|
||||
}
|
||||
extern "C" jint Java_org_linphone_core_LinphoneCoreImpl_pauseAllCalls(JNIEnv *env,jobject thiz,jlong pCore) {
|
||||
return linphone_core_pause_all_calls((LinphoneCore *) pCore);
|
||||
}
|
||||
extern "C" jint Java_org_linphone_core_LinphoneCoreImpl_resumeCall(JNIEnv *env,jobject thiz,jlong pCore, jlong pCall) {
|
||||
return linphone_core_resume_call((LinphoneCore *) pCore, (LinphoneCall *) pCall);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -565,4 +565,8 @@ public interface LinphoneCore {
|
|||
|
||||
void enableIpv6(boolean enable);
|
||||
void adjustSoftwareVolume(int i);
|
||||
|
||||
boolean pauseCall(LinphoneCall call);
|
||||
boolean resumeCall(LinphoneCall call);
|
||||
boolean pauseAllCalls();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue