Asmack离线消息时间获取

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编辑  收藏  举报

导航