mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-31 02:09:22 +00:00
Improve ZRTP GUI + setAuthenticationVerified
This commit is contained in:
parent
453e6a5319
commit
b15cee59b3
1 changed files with 8 additions and 3 deletions
|
|
@ -39,9 +39,6 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
private native int getDuration(long nativePtr);
|
||||
private native float getCurrentQuality(long nativePtr);
|
||||
private native float getAverageQuality(long nativePtr);
|
||||
private native String getAuthenticationToken(long nativePtr);
|
||||
private native boolean isAuthenticationTokenVerified(long nativePtr);
|
||||
private native boolean areStreamsEncrypted(long nativePtr);
|
||||
|
||||
/*
|
||||
* This method must always be called from JNI, nothing else.
|
||||
|
|
@ -126,13 +123,21 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
return getCurrentQuality(nativePtr);
|
||||
}
|
||||
|
||||
private native String getAuthenticationToken(long nativePtr);
|
||||
public String getAuthenticationToken(){
|
||||
return getAuthenticationToken(nativePtr);
|
||||
}
|
||||
|
||||
private native boolean isAuthenticationTokenVerified(long nativePtr);
|
||||
public boolean isAuthenticationTokenVerified(){
|
||||
return isAuthenticationTokenVerified(nativePtr);
|
||||
}
|
||||
|
||||
private native boolean setAuthenticationTokenVerified(long nativePtr, boolean verified);
|
||||
public void setAuthenticationTokenVerified(boolean verified){
|
||||
setAuthenticationTokenVerified(nativePtr, verified);
|
||||
}
|
||||
|
||||
public boolean isInConference() {
|
||||
LinphoneCallParamsImpl params = new LinphoneCallParamsImpl(getCurrentParamsCopy(nativePtr));
|
||||
return params.localConferenceMode();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue