Overview

Summary

ContactDonateImprint


8. VOICE CALL MODULE (UI prompt)



Module Entities (6)

EntityAliasModuleGlobal Schema
(1) CallParticipantCallParticipantVoiceCallModuleWhatsApp
(2) ChatChatChatModuleWhatsApp
(3) LoginSessionLoginSessionVoiceCallModuleWhatsApp
(4) UserAccountUserAccountUserAccountModuleWhatsApp
(5) UserDeviceUserDeviceUserDeviceModuleWhatsApp
(6) VoiceCallVoiceCallVoiceCallModuleWhatsApp

Module Interfaces (21)

Remote MethodLocal MethodModuleHTTP-MethodReferences
(1) /loginsessioninsertLoginSession(loginsession)VoiceCallModulePOSTLoginSession
(2) /loginsession/{id}updateLoginSessionById(loginsession)VoiceCallModulePUTLoginSession
(3) /callparticipantfindAllCallParticipant()VoiceCallModuleGETCallParticipant
(4) /voicecallinsertVoiceCall(voicecall)VoiceCallModulePOSTVoiceCall
(5) /voicecallfindAllVoiceCall()VoiceCallModuleGETVoiceCall
(6) /callparticipant/{id}findCallParticipantById(id)VoiceCallModuleGETCallParticipant
(7) /callparticipant/useraccount/{id}findAllCallParticipantOfUserAccount(id)VoiceCallModuleGETUserAccount CallParticipant
(8) /loginsession/useraccount/{id}findAllLoginSessionOfUserAccount(id)VoiceCallModuleGETUserAccount LoginSession
(9) /callparticipant/voicecall/{id}findAllCallParticipantOfVoiceCall(id)VoiceCallModuleGETVoiceCall CallParticipant
(10) /loginsession/{id}findLoginSessionById(id)VoiceCallModuleGETLoginSession
(11) /callparticipant/{id}updateCallParticipantById(callparticipant)VoiceCallModulePUTCallParticipant
(12) /loginsession/userdevice/{id}findAllLoginSessionOfUserDevice(id)VoiceCallModuleGETUserDevice LoginSession
(13) /voicecall/{id}findVoiceCallById(id)VoiceCallModuleGETVoiceCall
(14) /voicecall/{id}updateVoiceCallById(voicecall)VoiceCallModulePUTVoiceCall
(15) /callparticipant/{id}deleteCallParticipantById(id)VoiceCallModuleDELETECallParticipant
(16) /voicecall/chat/{id}findAllVoiceCallOfChat(id)VoiceCallModuleGETChat VoiceCall
(17) /callparticipantinsertCallParticipant(callparticipant)VoiceCallModulePOSTCallParticipant
(18) /voicecall/initiatoruseraccount/{id}findAllVoiceCallOfInitiatorUserAccount(id)VoiceCallModuleGETUserAccount VoiceCall
(19) /voicecall/{id}deleteVoiceCallById(id)VoiceCallModuleDELETEVoiceCall
(20) /loginsession/{id}deleteLoginSessionById(id)VoiceCallModuleDELETELoginSession
(21) /loginsessionfindAllLoginSession()VoiceCallModuleGETLoginSession






8.1 CALL PARTICIPANT


CallParticipantVoiceCallModuleWhatsApp

Properties (5)

PropertyTypeEntityReferenceModule
(1) ConnectionQualitySTRINGCallParticipant
(2) JoinedAtDATECallParticipant
(3) LeftAtDATECallParticipant
(4) UserAccountLONGCallParticipantUserAccountUserAccountModule
(5) VoiceCallLONGCallParticipantVoiceCallVoiceCallModule





Example:

final CallParticipant callparticipant = (CallParticipant) invokeModule(VOICE_CALL_MODULE + "/callparticipant/" + id, CallParticipant.class);
if (callparticipant != null) {
    final UserAccount useraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + callparticipant.getUserAccount().getId(), UserAccount.class);
    if (useraccount1 != null) {
    }
    final VoiceCall voicecall2 = (VoiceCall) invokeModule(VOICE_CALL_MODULE + "/voicecall/" + callparticipant.getVoiceCall().getId(), VoiceCall.class);
    if (voicecall2 != null) {
        final UserAccount initiatoruseraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + voicecall2.getInitiatorUserAccount().getId(), UserAccount.class);
        if (initiatoruseraccount3 != null) {
        }
        final Chat chat4 = (Chat) invokeModule(CHAT_MODULE + "/chat/" + voicecall2.getChat().getId(), Chat.class);
        if (chat4 != null) {
            final UserAccount createdbyuseraccount5 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + chat4.getCreatedByUserAccount().getId(), UserAccount.class);
            if (createdbyuseraccount5 != null) {
            }
        }
    }
}
return callparticipant;


8.2 LOGIN SESSION


LoginSessionVoiceCallModuleWhatsApp

Properties (7)

PropertyTypeEntityReferenceModule
(1) IpAddressSTRINGLoginSession
(2) IsActiveBOOLLoginSession
(3) LoggedInAtDATELoginSession
(4) LoggedOutAtDATELoginSession
(5) LoginMethodSTRINGLoginSession
(6) UserAccountLONGLoginSessionUserAccountUserAccountModule
(7) UserDeviceLONGLoginSessionUserDeviceUserDeviceModule





Example:

final LoginSession loginsession = (LoginSession) invokeModule(VOICE_CALL_MODULE + "/loginsession/" + id, LoginSession.class);
if (loginsession != null) {
    final UserDevice userdevice1 = (UserDevice) invokeModule(USER_DEVICE_MODULE + "/userdevice/" + loginsession.getUserDevice().getId(), UserDevice.class);
    if (userdevice1 != null) {
        final AppVersion appversion2 = (AppVersion) invokeModule(USER_DEVICE_MODULE + "/appversion/" + userdevice1.getAppVersion().getId(), AppVersion.class);
        if (appversion2 != null) {
            final PlatformSupport platformsupport3 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + appversion2.getPlatformSupport().getId(), PlatformSupport.class);
            if (platformsupport3 != null) {
            }
        }
        final UserAccount useraccount4 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + userdevice1.getUserAccount().getId(), UserAccount.class);
        if (useraccount4 != null) {
        }
        final PlatformSupport platformsupport5 = (PlatformSupport) invokeModule(USER_DEVICE_MODULE + "/platformsupport/" + userdevice1.getPlatformSupport().getId(), PlatformSupport.class);
        if (platformsupport5 != null) {
        }
    }
    final UserAccount useraccount6 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + loginsession.getUserAccount().getId(), UserAccount.class);
    if (useraccount6 != null) {
    }
}
return loginsession;


8.3 VOICE CALL


VoiceCallVoiceCallModuleWhatsApp

Properties (9)

PropertyTypeEntityReferenceModule
(1) CallTypeSTRINGVoiceCall
(2) ChatLONGVoiceCallChatChatModule
(3) CodecSTRINGVoiceCall
(4) EndedAtDATEVoiceCall
(5) InitiatorUserAccountLONGVoiceCallUserAccountUserAccountModule
(6) IsGroupCallBOOLVoiceCall
(7) IsRecordedBOOLVoiceCall
(8) MaxParticipantsLONGVoiceCall
(9) StartedAtDATEVoiceCall





Example:

final VoiceCall voicecall = (VoiceCall) invokeModule(VOICE_CALL_MODULE + "/voicecall/" + id, VoiceCall.class);
if (voicecall != null) {
    final UserAccount initiatoruseraccount1 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + voicecall.getInitiatorUserAccount().getId(), UserAccount.class);
    if (initiatoruseraccount1 != null) {
    }
    final Chat chat2 = (Chat) invokeModule(CHAT_MODULE + "/chat/" + voicecall.getChat().getId(), Chat.class);
    if (chat2 != null) {
        final UserAccount createdbyuseraccount3 = (UserAccount) invokeModule(USER_ACCOUNT_MODULE + "/useraccount/" + chat2.getCreatedByUserAccount().getId(), UserAccount.class);
        if (createdbyuseraccount3 != null) {
        }
    }
}
return voicecall;


Overview

Summary

ContactDonateImprint