use of com.fanap.podchat.call.result_model.EndCallResult in project pod-chat-android-sdk by FanapSoft.
the class CallAsyncRequestsManager method handleOnCallEnded.
public static ChatResponse<EndCallResult> handleOnCallEnded(ChatMessage chatMessage) {
ChatResponse<EndCallResult> response = new ChatResponse<>();
EndCallResult result = new EndCallResult();
result.setTypeCode(chatMessage.getTypeCode());
result.setCallId(chatMessage.getSubjectId());
response.setResult(result);
response.setSubjectId(chatMessage.getSubjectId());
response.setUniqueId(chatMessage.getUniqueId());
return response;
}
Aggregations