DelayInformation info = (DelayInformation)message.getExtension("x","jabber:x:delay"); if (info != null) { Date date = info.getStamp(); Log.e("离线消息", "收到离线消息, 时间:"+date.getTime()); }
posted on 2016-08-25 21:03 xiezie 阅读(181) 评论(0) 编辑 收藏 举报