]> sjero.net Git - linphone/blobdiff - java/impl/org/linphone/core/LinphoneChatMessageImpl.java
Added GetTime method to LinphoneChatMessage java impl
[linphone] / java / impl / org / linphone / core / LinphoneChatMessageImpl.java
index 1373708ca07508a846dc290e1dbe7d71bdeb8260..2a256f2f5d3fe2db0580f2f1c7645f758a029261 100644 (file)
@@ -8,6 +8,7 @@ public class LinphoneChatMessageImpl implements LinphoneChatMessage {
        private native String getExternalBodyUrl(long ptr);
        private native void setExternalBodyUrl(long ptr, String url);
        private native long getFrom(long ptr);
+       private native long getTime(long ptr);
        
        protected LinphoneChatMessageImpl(long aNativePtr)  {
                nativePtr = aNativePtr;
@@ -64,4 +65,8 @@ public class LinphoneChatMessageImpl implements LinphoneChatMessage {
        public String getCustomHeader(String name) {
                return getCustomHeader(nativePtr,name);
        }
+       
+       public long getTime() {
+               return getTime(nativePtr);
+       }
 }