mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 10:19:23 +00:00
add missing ptime setters
This commit is contained in:
parent
94d58ce1e6
commit
03c280a216
1 changed files with 10 additions and 0 deletions
|
|
@ -99,6 +99,9 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
private native int pauseCall(long nativePtr, long callPtr);
|
||||
private native int pauseAllCalls(long nativePtr);
|
||||
private native int resumeCall(long nativePtr, long callPtr);
|
||||
private native void setUploadPtime(long nativePtr, int ptime);
|
||||
private native void setDownloadPtime(long nativePtr, int ptime);
|
||||
|
||||
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||
mListener=listener;
|
||||
nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata);
|
||||
|
|
@ -483,4 +486,11 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
public synchronized boolean pauseAllCalls() {
|
||||
return 0 == pauseAllCalls(nativePtr);
|
||||
}
|
||||
public void setDownloadPtime(int ptime) {
|
||||
setDownloadPtime(nativePtr,ptime);
|
||||
|
||||
}
|
||||
public void setUploadPtime(int ptime) {
|
||||
setUploadPtime(nativePtr,ptime);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue