End of JNI export for getRemoteParams, acceptCallWithParams, acceptCallUpdate and deferCallUpdate
This commit is contained in:
parent
fe0fc97a95
commit
0308e07f0e
2 changed files with 26 additions and 1 deletions
|
@ -29,6 +29,7 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
native private long getRemoteAddress(long nativePtr);
|
||||
native private int getState(long nativePtr);
|
||||
private native long getCurrentParamsCopy(long nativePtr);
|
||||
private native long getRemoteParams(long nativePtr);
|
||||
private native void enableCamera(long nativePtr, boolean enabled);
|
||||
private native boolean cameraEnabled(long nativePtr);
|
||||
private native void enableEchoCancellation(long nativePtr,boolean enable);
|
||||
|
@ -74,7 +75,9 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
public LinphoneCallParams getCurrentParamsCopy() {
|
||||
return new LinphoneCallParamsImpl(getCurrentParamsCopy(nativePtr));
|
||||
}
|
||||
|
||||
public LinphoneCallParams getRemoteParams() {
|
||||
return new LinphoneCallParamsImpl(getRemoteParams(nativePtr));
|
||||
}
|
||||
public void enableCamera(boolean enabled) {
|
||||
enableCamera(nativePtr, enabled);
|
||||
}
|
||||
|
|
|
@ -670,4 +670,26 @@ class LinphoneCoreImpl implements LinphoneCore {
|
|||
|
||||
@Override
|
||||
public native boolean isTunnelAvailable();
|
||||
|
||||
private native void acceptCallWithParams(long nativePtr, LinphoneCall aCall,
|
||||
LinphoneCallParams params);
|
||||
@Override
|
||||
public void acceptCallWithParams(LinphoneCall aCall,
|
||||
LinphoneCallParams params) throws LinphoneCoreException {
|
||||
acceptCallWithParams(nativePtr, aCall, params);
|
||||
}
|
||||
|
||||
private native void acceptCallUpdate(long nativePtr, LinphoneCall aCall, LinphoneCallParams params);
|
||||
@Override
|
||||
public void acceptCallUpdate(LinphoneCall aCall, LinphoneCallParams params)
|
||||
throws LinphoneCoreException {
|
||||
acceptCallUpdate(nativePtr, aCall, params);
|
||||
}
|
||||
|
||||
private native void deferCallUpdate(long nativePtr, LinphoneCall aCall, LinphoneCallParams params);
|
||||
@Override
|
||||
public void deferCallUpdate(LinphoneCall aCall, LinphoneCallParams params)
|
||||
throws LinphoneCoreException {
|
||||
deferCallUpdate(nativePtr, aCall, params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue