Add linphone_core_defer_call_update, linphone_call_params_copy, linphone_core_accept_call_with_params, linphone_core_accept_call_update to JNI

This commit is contained in:
Yann Diorcet 2012-02-27 16:54:37 +01:00
parent 3da2b2ae96
commit a4d6892158

View file

@ -553,6 +553,30 @@ extern "C" void Java_org_linphone_core_LinphoneCoreImpl_acceptCall( JNIEnv* env
linphone_core_accept_call((LinphoneCore*)lc,(LinphoneCall*)call);
}
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_acceptCallWithParams(JNIEnv *env,
jobject thiz,
jlong lc,
jlong call,
jlong params){
linphone_core_accept_call_with_params((LinphoneCore*)lc,(LinphoneCall*)call, (LinphoneCallParams*)params);
}
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_acceptCallUpdate(JNIEnv *env,
jobject thiz,
jlong lc,
jlong call,
jlong params){
linphone_core_accept_call_update((LinphoneCore*)lc,(LinphoneCall*)call, (LinphoneCallParams*)params);
}
extern "C" void Java_org_linphone_core_LinphoneCoreImpl_deferCallUpdate(JNIEnv *env,
jobject thiz,
jlong lc,
jlong call,
jlong params){
linphone_core_defer_call_update((LinphoneCore*)lc,(LinphoneCall*)call);
}
extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_getCallLog( JNIEnv* env
,jobject thiz
,jlong lc
@ -1363,6 +1387,10 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_createDefaultCallParams
return (jlong) linphone_core_create_default_call_parameters((LinphoneCore*)lc);
}
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getRemoteParams(JNIEnv *env, jobject thiz, jlong lc){
return (jlong) linphone_call_params_copy(linphone_call_get_remote_params((linphone_call_params_copy*)lc));
}
extern "C" jlong Java_org_linphone_core_LinphoneCallImpl_getCurrentParamsCopy(JNIEnv *env, jobject thiz, jlong lc){
return (jlong) linphone_call_params_copy(linphone_call_get_current_params((LinphoneCall*)lc));
}