mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 07:08:11 +00:00
start GUI binding
This commit is contained in:
parent
f91275deff
commit
358f29c5cc
2 changed files with 7 additions and 0 deletions
|
|
@ -88,5 +88,7 @@ public interface LinphoneCore {
|
|||
|
||||
public void invite(String uri);
|
||||
|
||||
public void terminateCall();
|
||||
|
||||
public void iterate();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
private native void clearProxyConfigs(long nativePtr);
|
||||
private native void addAuthInfo(long nativePtr,long authInfoNativePtr);
|
||||
private native void invite(long nativePtr,String uri);
|
||||
private native void terminateCall(long nativePtr);
|
||||
|
||||
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||
mListener=listener;
|
||||
nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata);
|
||||
|
|
@ -82,6 +84,9 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public void clearProxyConfigs() {
|
||||
clearProxyConfigs(nativePtr);
|
||||
}
|
||||
public void terminateCall() {
|
||||
terminateCall(nativePtr);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue