]> sjero.net Git - linphone/blobdiff - java/impl/org/linphone/core/LinphoneCallLogImpl.java
Add JNI glue to get timestamp for logs
[linphone] / java / impl / org / linphone / core / LinphoneCallLogImpl.java
index 05468626ebc22a3f4cb80d282ae4b1baf2ea58ac..7582dbd46c254f60600dfcea02b9fa91ee44ee20 100644 (file)
@@ -30,6 +30,7 @@ class LinphoneCallLogImpl implements LinphoneCallLog {
        private native String getStartDate(long nativePtr);
        private native int getCallDuration(long nativePtr);
        private native int getCallId(long nativePtr);
+       private native long getTimestamp(long nativePtr);
        
        LinphoneCallLogImpl(long aNativePtr)  {
                nativePtr = aNativePtr;
@@ -64,4 +65,8 @@ class LinphoneCallLogImpl implements LinphoneCallLog {
        public int getCallId() {
                return getCallId(nativePtr);
        }
+       
+       public long getTimestamp() {
+               return getTimestamp(nativePtr);
+       }
 }