DestructManager

public class DestructManager

Created by Android Studio. User: lvhongzhen Date: 2019-09-11 Time: 10:26

Properties

Link copied to clipboard
public static int IMAGE_DESTRUCT_TIME
Link copied to clipboard
public static int SIGHT_DESTRUCT_TIME
Link copied to clipboard
public static int VOICE_DESTRUCT_TIME

Functions

Link copied to clipboard
public void activeDestructMode(Context context)
激活阅后即焚模式
Link copied to clipboard
public void addListener(String pUId, DestructCountDownTimerListener pDestructListener, String pTag)
Link copied to clipboard
public void deleteMessage(Message pMessage)
Link copied to clipboard
public void deleteMessages(ConversationType pConversationType, String pTargetId, Array<Message> pDeleteMessages)
Link copied to clipboard
public void exitDestructMode()
Link copied to clipboard
public static DestructManager getInstance()
Link copied to clipboard
public String getUnFinishTime(String pMessageId)
Link copied to clipboard
public static boolean isActive()
Link copied to clipboard
public void onDeleteClick(ConversationType type, String targetId, EditText editText, int cursorPos)
Link copied to clipboard
public void onDestroy(ConversationType type, String targetId)
Link copied to clipboard
public void onSendToggleClick(Message message)
Link copied to clipboard
public void onTextChanged(Context context, ConversationType type, String targetId, int cursorPos, int count, String text)
Link copied to clipboard
public void safeAttacheToExtension(Fragment currentFragment, RongExtension extension)
如果弱引用出问题,重新attach
Link copied to clipboard
public void startDestruct(Message pMessage)
Link copied to clipboard
public void stopDestruct(Message pMessage)