# DestructManager

public class DestructManager

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

## Properties

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

## Functions

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