forked from mirrors/linphone-iphone
Added JNI method to get call start date in log
This commit is contained in:
parent
d72e9c553e
commit
9ee07aa8ff
1 changed files with 6 additions and 0 deletions
|
|
@ -1146,6 +1146,12 @@ extern "C" jboolean Java_org_linphone_core_LinphoneCallLogImpl_isIncoming(JNIEnv
|
|||
,jlong ptr) {
|
||||
return ((LinphoneCallLog*)ptr)->dir==LinphoneCallIncoming?JNI_TRUE:JNI_FALSE;
|
||||
}
|
||||
extern "C" jstring Java_org_linphone_core_LinphoneCallLogImpl_getStartDate(JNIEnv* env
|
||||
,jobject thiz
|
||||
,jlong ptr) {
|
||||
jstring jvalue =env->NewStringUTF(((LinphoneCallLog*)ptr)->start_date);
|
||||
return jvalue;
|
||||
}
|
||||
|
||||
/*payloadType*/
|
||||
extern "C" jstring Java_org_linphone_core_PayloadTypeImpl_toString(JNIEnv* env,jobject thiz,jlong ptr) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue