1 #ifndef __ICALLNOTIFICATIONS__ 2 #define __ICALLNOTIFICATIONS__ 4 #include "IEventHandle.h" 5 #include "Types/SharedPointerTypes.h" 6 #include "Types/CallLineStatus.h" 26 virtual void OnCallStatusChanged(ZDK::Shared::Call call, ZDK::Shared::CallStatus status) = 0;
40 virtual void OnCallExtendedError(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error) = 0;
53 virtual void OnCallNetworkStatistics(ZDK::Shared::Call call, ZDK::Shared::NetworkStatistics networkStatistics) = 0;
81 virtual void OnCallSecurityLevelChanged(ZDK::Shared::Call call, ZDK::CallMediaChannel channel, ZDK::CallSecurityLevel level) = 0;
94 virtual void OnCallDTMFResult(ZDK::Shared::Call call, ZDK::Shared::Result result) = 0;
136 virtual void OnCallTransferStarted(ZDK::Shared::Call call, ZDK::Shared::String name, ZDK::Shared::String number, ZDK::Shared::String URI) = 0;
149 virtual void OnCallZrtpFailed(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error) = 0;
242 virtual void OnCallZrtpSuccess(ZDK::Shared::Call call, ZDK::Shared::String zidHex,
int knownPeer,
int cacheMismatch,
int peerKnowsUs,
243 ZDK::ZRTPSASEncoding sasEncoding, ZDK::Shared::String sas, ZDK::ZRTPHashAlgorithm hash,
244 ZDK::ZRTPCipherAlgorithm cipher, ZDK::ZRTPAuthTag authTag, ZDK::ZRTPKeyAgreement keyAgreement) = 0;
275 virtual void OnCallZrtpSecondaryError(ZDK::Shared::Call call,
int callChannel, ZDK::Shared::ExtendedError error) = 0;
280 #endif //__ICALLNOTIFICATIONS__ virtual void OnCallNetworkQualityLevel(ZDK::Shared::Call call, int callChannel, int qualityLevel)=0
Notify upon network quality level change.
virtual void OnCallZrtpSecondaryError(ZDK::Shared::Call call, int callChannel, ZDK::Shared::ExtendedError error)=0
Secondary stream failed to negotiate ZRTP.
virtual void OnCallExtendedError(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error)=0
Notify upon call extended error occurs.
virtual void OnCallTransferFailure(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error)=0
Failed call transfer event.
Definition: ICallEventsHandler.h:12
virtual void OnCallSecurityLevelChanged(ZDK::Shared::Call call, ZDK::CallMediaChannel channel, ZDK::CallSecurityLevel level)=0
Notify upon network quality level change.
Definition: IEventHandle.h:11
virtual void OnCallTransferStarted(ZDK::Shared::Call call, ZDK::Shared::String name, ZDK::Shared::String number, ZDK::Shared::String URI)=0
Notify that call transfer is initiated.
virtual void OnCallNetworkStatistics(ZDK::Shared::Call call, ZDK::Shared::NetworkStatistics networkStatistics)=0
Event for network statistics update.
virtual void OnCallTransferSucceeded(ZDK::Shared::Call call)=0
Succesuful call transfer event.
Definition: IAccountConfig.h:10
virtual void OnCallDTMFResult(ZDK::Shared::Call call, ZDK::Shared::Result result)=0
Notify upon DTMF call result.
virtual void OnCallZrtpFailed(ZDK::Shared::Call call, ZDK::Shared::ExtendedError error)=0
ZRTP negotiation failed for a call.
virtual void OnCallStatusChanged(ZDK::Shared::Call call, ZDK::Shared::CallStatus status)=0
Notify upon Call's status change.
virtual void OnCallZrtpSuccess(ZDK::Shared::Call call, ZDK::Shared::String zidHex, int knownPeer, int cacheMismatch, int peerKnowsUs, ZDK::ZRTPSASEncoding sasEncoding, ZDK::Shared::String sas, ZDK::ZRTPHashAlgorithm hash, ZDK::ZRTPCipherAlgorithm cipher, ZDK::ZRTPAuthTag authTag, ZDK::ZRTPKeyAgreement keyAgreement)=0
ZRTP negotiation succeeded for a call.