add missing ptime setters
This commit is contained in:
parent
79bf306a4f
commit
cabe7e0fb8
2 changed files with 11 additions and 1 deletions
|
@ -99,6 +99,9 @@ class LinphoneCoreImpl implements LinphoneCore {
|
||||||
private native int pauseCall(long nativePtr, long callPtr);
|
private native int pauseCall(long nativePtr, long callPtr);
|
||||||
private native int pauseAllCalls(long nativePtr);
|
private native int pauseAllCalls(long nativePtr);
|
||||||
private native int resumeCall(long nativePtr, long callPtr);
|
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 {
|
LinphoneCoreImpl(LinphoneCoreListener listener, File userConfig,File factoryConfig,Object userdata) throws IOException {
|
||||||
mListener=listener;
|
mListener=listener;
|
||||||
nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata);
|
nativePtr = newLinphoneCore(listener,userConfig.getCanonicalPath(),factoryConfig.getCanonicalPath(),userdata);
|
||||||
|
@ -483,4 +486,11 @@ class LinphoneCoreImpl implements LinphoneCore {
|
||||||
public synchronized boolean pauseAllCalls() {
|
public synchronized boolean pauseAllCalls() {
|
||||||
return 0 == pauseAllCalls(nativePtr);
|
return 0 == pauseAllCalls(nativePtr);
|
||||||
}
|
}
|
||||||
|
public void setDownloadPtime(int ptime) {
|
||||||
|
setDownloadPtime(nativePtr,ptime);
|
||||||
|
|
||||||
|
}
|
||||||
|
public void setUploadPtime(int ptime) {
|
||||||
|
setUploadPtime(nativePtr,ptime);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 928e9717531c342ec38b00a66dd7fe1f77fd8909
|
Subproject commit c8f4f8f296baa01f5839104327f1707626b7cf63
|
Loading…
Reference in a new issue