Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
9ee07aa8
Commit
9ee07aa8
authored
Jun 13, 2012
by
Sylvain Berfini
🐮
Browse files
Added JNI method to get call start date in log
parent
d72e9c55
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
coreapi/linphonecore_jni.cc
coreapi/linphonecore_jni.cc
+6
-0
No files found.
coreapi/linphonecore_jni.cc
View file @
9ee07aa8
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment