implement quality indicators methods

This commit is contained in:
Simon Morlat 2011-06-10 19:04:53 +02:00
parent 3c6d4b89d0
commit bd0745ecc3

View file

@ -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);
}
}