1 package com.netease.nimlib.sdk.msg.model;
3 import android.text.TextUtils;
11 private String sessionId;
20 this.sessionId = sessionId;
21 this.sessionType = sessionType;
34 String type =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.TYPE);
37 if (TextUtils.isEmpty(type) ||
"1".equals(type)) {
39 sessionId =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.OTHER_ACCID);
42 sessionId =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.TO_TID);
44 long time =
property.getLong(ITalkService.SessionHistoryMsgsDeleteTag.TIME);
45 String ext =
property.get(ITalkService.SessionHistoryMsgsDeleteTag.EXT);
SessionTypeEnum getSessionType()
static SessionMsgDeleteOption fromProperty(Property property)
通过Property生成实例
SessionMsgDeleteOption(String sessionId, SessionTypeEnum sessionType, long time, String ext)