use of com.fanap.podchat.chat.tag.request_model.DeleteTagRequest in project pod-chat-android-sdk by FanapSoft.
the class TagCacheTest method deleteTag.
public void deleteTag(long tagId) {
chatListeners = new ChatListener() {
@Override
public void onTagDeleted(String content, ChatResponse<TagResult> response) {
chat.removeListener(chatListeners);
resumeProcess();
}
};
chat.setListener(chatListeners);
DeleteTagRequest request = new DeleteTagRequest.Builder(tagId).build();
chat.deleteTag(request);
pauseProcess();
System.out.println("Tag Deleted: ");
}
use of com.fanap.podchat.chat.tag.request_model.DeleteTagRequest in project pod-chat-android-sdk by FanapSoft.
the class ChatActivity method deleteTag.
public void deleteTag() {
DeleteTagRequest request = new DeleteTagRequest.Builder(tagId).build();
presenter.deleteTag(request);
}
Aggregations