deleteConversation abstract method
Future<ZIMConversationDeletedResult>
deleteConversation(
- String conversationID,
- ZIMConversationType conversationType,
- ZIMConversationDeleteConfig config
Available since: 2.1.5 and above.
Description: This interface is invoked when a session needs to be deleted. All members in the session can invoke this interface.
Use cases: You can invoke this interface implementation to delete an entire session when it is no longer needed.
When to call /Trigger: his parameter is invoked when a session needs to be deleted and can be invoked after a ZIM instance is created. The call takes effect after login and becomes invalid after logout.
conversationID
conversationID.
conversationType
conversation type.
config
delete the session's configuration.
Implementation
Future<ZIMConversationDeletedResult> deleteConversation(String conversationID,
ZIMConversationType conversationType, ZIMConversationDeleteConfig config);