use of com.fanap.podchat.model.OutPutNotSeenDurations in project pod-chat-android-sdk by FanapSoft.
the class ChatCore method handleGetNotSeenDuration.
private void handleGetNotSeenDuration(Callback callback, ChatMessage chatMessage, String messageUniqueId) {
messageCallbacks.remove(messageUniqueId);
if (callback != null && callback.isResult()) {
ChatResponse<ResultNotSeenDuration> result = reformatNotSeenDuration(chatMessage, callback);
if (result == null) {
messageCallbacks.remove(messageUniqueId);
return;
}
OutPutNotSeenDurations output = new OutPutNotSeenDurations();
output.setResultNotSeenDuration(result.getResult());
if (sentryResponseLog) {
showLog("RECEIVE_NOT_SEEN_DURATION", chatMessage.getContent());
} else {
showLog("RECEIVE_NOT_SEEN_DURATION");
}
listenerManager.callOnGetNotSeenDuration(output);
}
}
Aggregations