use of com.fanap.podchat.call.result_model.CallDeliverResult in project pod-chat-android-sdk by FanapSoft.
the class CallAsyncRequestsManager method handleOnCallDelivered.
public static ChatResponse<CallDeliverResult> handleOnCallDelivered(ChatMessage chatMessage) {
CallParticipantVO participant = App.getGson().fromJson(chatMessage.getContent(), CallParticipantVO.class);
CallDeliverResult result = new CallDeliverResult(participant);
ChatResponse<CallDeliverResult> response = new ChatResponse<>();
response.setResult(result);
response.setSubjectId(chatMessage.getSubjectId());
response.setUniqueId(chatMessage.getUniqueId());
return response;
}
Aggregations