mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-22 13:48:09 +00:00
implement quality indicators methods
This commit is contained in:
parent
3c6d4b89d0
commit
bd0745ecc3
1 changed files with 8 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
private native boolean isEchoLimiterEnabled(long nativePtr);
|
||||
private native long getReplacedCall(long nativePtr);
|
||||
private native int getDuration(long nativePtr);
|
||||
private native float getCurrentQuality(long nativePtr);
|
||||
private native float getAverageQuality(long nativePtr);
|
||||
|
||||
protected LinphoneCallImpl(long aNativePtr) {
|
||||
nativePtr = aNativePtr;
|
||||
|
|
@ -101,5 +103,11 @@ class LinphoneCallImpl implements LinphoneCall {
|
|||
public int getDuration() {
|
||||
return getDuration(nativePtr);
|
||||
}
|
||||
public float getAverageQuality() {
|
||||
return getAverageQuality(nativePtr);
|
||||
}
|
||||
public float getCurrentQuality() {
|
||||
return getCurrentQuality(nativePtr);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue