jstring jvalue =env->NewStringUTF(((LinphoneCallLog*)ptr)->start_date);
return jvalue;
}
+extern "C" jint Java_org_linphone_core_LinphoneCallLogImpl_getCallDuration(JNIEnv* env
+ ,jobject thiz
+ ,jlong ptr) {
+ return ((LinphoneCallLog*)ptr)->duration;
+}
/*payloadType*/
extern "C" jstring Java_org_linphone_core_PayloadTypeImpl_toString(JNIEnv* env,jobject thiz,jlong ptr) {
* @return a human readble String with the start date/time of the call
*/
public String getStartDate();
+
+ /**
+ * @return the call duration, in seconds
+ */
+ public int getCallDuration();
}