Search in sources :

Example 1 with StatusPingResult

use of com.fanap.podchat.chat.ping.result.StatusPingResult in project pod-chat-android-sdk by FanapSoft.

the class PingManager method handleOnPingStatusSent.

public static ChatResponse<StatusPingResult> handleOnPingStatusSent(ChatMessage chatMessage) {
    StatusPingResult result = new StatusPingResult();
    ChatResponse<StatusPingResult> response = new ChatResponse<>();
    response.setResult(result);
    response.setCache(false);
    response.setHasError(false);
    response.setUniqueId(chatMessage.getUniqueId());
    return response;
}
Also used : StatusPingResult(com.fanap.podchat.chat.ping.result.StatusPingResult) ChatResponse(com.fanap.podchat.model.ChatResponse)

Aggregations

StatusPingResult (com.fanap.podchat.chat.ping.result.StatusPingResult)1 ChatResponse (com.fanap.podchat.model.ChatResponse)1