Added missing function in manager
This commit is contained in:
parent
73e2ca7de8
commit
480bd8fa08
1 changed files with 10 additions and 0 deletions
|
@ -1408,6 +1408,16 @@ public final class LinphoneManager implements LinphoneCoreListener {
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean acceptCall(LinphoneCall call) {
|
||||||
|
try {
|
||||||
|
mLc.acceptCall(call);
|
||||||
|
return true;
|
||||||
|
} catch (LinphoneCoreException e) {
|
||||||
|
Log.i(e, "Accept call failed");
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean acceptCallWithParams(LinphoneCall call, LinphoneCallParams params) {
|
public boolean acceptCallWithParams(LinphoneCall call, LinphoneCallParams params) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue