Add linphone_core_defer_call_update, linphone_call_params_copy, linphone_core_accept_call_with_params, linphone_core_accept_call_update to java code

This commit is contained in:
Yann Diorcet 2012-02-29 09:00:09 +01:00
parent ed5df307b8
commit 1d0a356fcf
2 changed files with 37 additions and 0 deletions

View file

@ -159,6 +159,8 @@ public interface LinphoneCall {
* @Return LinphoneCallLog
**/
LinphoneCallLog getCallLog();
LinphoneCallParams getRemoteParams();
LinphoneCallParams getCurrentParamsCopy();

View file

@ -22,6 +22,8 @@ package org.linphone.core;
import java.util.List;
import java.util.Vector;
import org.linphone.core.LinphoneCallParams;
/**
* Linphone core main object created by method {@link LinphoneCoreFactory#createLinphoneCore(LinphoneCoreListener, String, String, Object)}.
*
@ -372,6 +374,39 @@ public interface LinphoneCore {
*/
public void acceptCall(LinphoneCall aCall) throws LinphoneCoreException;
/**
* Accept an incoming call.
*
* Basically the application is notified of incoming calls within the
* {@link LinphoneCoreListener#inviteReceived(LinphoneCore, String)} listener.
* The application can later respond positively to the call using
* this method.
* @throws LinphoneCoreException
*/
public void acceptCallWithParams(LinphoneCall aCall, LinphoneCallParams params) throws LinphoneCoreException;
/**
* Accept call modifications initiated by other end.
*
* Basically the application is notified of incoming calls within the
* {@link LinphoneCoreListener#inviteReceived(LinphoneCore, String)} listener.
* The application can later respond positively to the call using
* this method.
* @throws LinphoneCoreException
*/
public void acceptCallUpdate(LinphoneCall aCall, LinphoneCallParams params) throws LinphoneCoreException;
/**
* Prevent LinphoneCore from performing an automatic answer
*
* Basically the application is notified of incoming calls within the
* {@link LinphoneCoreListener#inviteReceived(LinphoneCore, String)} listener.
* The application can later respond positively to the call using
* this method.
* @throws LinphoneCoreException
*/
public void deferCallUpdate(LinphoneCall aCall, LinphoneCallParams params) throws LinphoneCoreException;
/**
* @return a list of LinphoneCallLog