LinphoneCall *call = (LinphoneCall *) ptr;
return linphone_call_get_authentication_token_verified(call);
}
+extern "C" void Java_org_linphone_core_LinphoneCallImpl_setAuthenticationTokenVerified(JNIEnv* env,jobject thiz,jlong ptr,jboolean verified) {
+ LinphoneCall *call = (LinphoneCall *) ptr;
+ linphone_call_set_authentication_token_verified(call, verified);
+}
+
extern "C" jboolean Java_org_linphone_core_LinphoneCoreImpl_soundResourcesLocked(JNIEnv* env,jobject thiz,jlong ptr){
return linphone_core_sound_resources_locked((LinphoneCore *) ptr);
*/
float getAverageQuality();
-
+ /**
+ * Used by ZRTP encryption mechanism.
+ * @return SAS associated to the main stream [voice]
+ */
String getAuthenticationToken();
+
+ /**
+ * Used by ZRTP encryption mechanism.
+ * SAS can be verified manually by the user or automatically using a previously shared secret.
+ * @return true if the main stream [voice ]SAS was verified.
+ */
boolean isAuthenticationTokenVerified();
+
+ /**
+ * Used by ZRTP encryption mechanism.
+ * @param verified true when displayed SAS is correct
+ */
+ void setAuthenticationTokenVerified(boolean verified);
+
boolean isInConference();
}