ZDK
|
Public Member Functions | |
virtual ZDK::ZDKHandle | CallHandle () const =0 |
Gets call handle. More... | |
virtual ZDK::Shared::BrandingInfo | Branding () const =0 |
virtual void | Branding (ZDK::Shared::BrandingInfo value)=0 |
virtual ZDK::Shared::CallStatus | Status () const =0 |
Provides the Call's status information. More... | |
virtual ZDK::Shared::String | CalleeNumber () const =0 |
Provides the Callee number. More... | |
virtual ZDK::Shared::String | CalleeName () const =0 |
Provides the Callee name. More... | |
virtual ZDK::AudioVideoCodecs | CodecInUse () const =0 |
Provides the used codec. More... | |
virtual void | SetCallStatusListener (ZDK::Shared::CallEventsHandler value)=0 |
Sets Call status listener. More... | |
virtual void | DropCallStatusListener (ZDK::Shared::CallEventsHandler value)=0 |
Drops Call status listener. More... | |
virtual void | SetVideoCallNotificiationsListener (ZDK::Shared::VideoEventsHandler value)=0 |
Sets Video status listener. More... | |
virtual void | DropVideoCallNotificiationsListener (ZDK::Shared::VideoEventsHandler value)=0 |
Drops Video status listener. More... | |
virtual void | DropAllEventListeners ()=0 |
Drops all event listeners. More... | |
virtual void | SetVideoRendererNotificationsListener (ZDK::Shared::VideoRendererEventsHandler value)=0 |
virtual ZDK::Shared::Result | HangUp ()=0 |
Hang up the call. More... | |
virtual ZDK::Shared::Result | AcceptCall ()=0 |
Accepts an incoming call. More... | |
virtual ZDK::Shared::Result | AcceptCallTransfer ()=0 |
Accept a call transfer request. More... | |
virtual ZDK::Shared::Result | RejectCallTransfer ()=0 |
Rejects a call transfer request. More... | |
virtual ZDK::Shared::Result | AttendedTransfer (ZDK::Shared::Call transferee)=0 |
Initiates an attended call transfer. More... | |
virtual ZDK::Shared::Result | BlindTransfer (ZDK::Shared::String transferee)=0 |
Initiates an unattended call transfer. More... | |
virtual ZDK::Shared::Result | AcceptVideo (bool accept)=0 |
Accepts an incoming offer for video. More... | |
virtual ZDK::Shared::Result | OfferVideo ()=0 |
Offers Video. More... | |
virtual void | SendVideoFrame (unsigned char *bytes, int byteCount, ZDK::VideoFrameFormat type)=0 |
Send a video frame over the network. More... | |
virtual ZDK::Shared::Result | VideoToggleCamera ()=0 |
Toggles the camera. More... | |
virtual ZDK::CameraSensorLocation | VideoGetCameraLocation ()=0 |
Provides Camera location. More... | |
virtual ZDK::Shared::Result | RestartVideoCapture ()=0 |
Restart Video capture. More... | |
virtual bool | OnSpeaker () const =0 |
Gets the speakers state. More... | |
virtual void | OnSpeaker (bool value)=0 |
Sets the speakers state. More... | |
virtual bool | Held () const =0 |
Gets the Hold state. More... | |
virtual void | Held (bool value)=0 |
Sets the hold state. More... | |
virtual bool | Muted () const =0 |
Gets the Mute state. More... | |
virtual void | Muted (bool value)=0 |
Sets the Mute state. More... | |
virtual bool | HasVideo (ZDK::OriginType origin) const =0 |
Gets if video is present. More... | |
virtual ZDK::Shared::Result | SetHasVideo (ZDK::OriginType origin, bool value)=0 |
Sets the video. More... | |
virtual ZDK::Shared::VideoCallInfo | VideoCallInfo () const =0 |
Gets Video call information. More... | |
virtual ZDK::Shared::VideoSinkManager | ReleaseVideoSinkSourceOwnership ()=0 |
virtual bool | IsFirstClass () const =0 |
virtual void | StopHandlingVoipPhoneCallEvents ()=0 |
Stops handling Call events. More... | |
virtual void | StartHandlingVoipPhoneCallEvents ()=0 |
Start handling Call events. More... | |
virtual ZDK::Shared::Result | NotifyAccountOfOwnershipChange ()=0 |
Notify upon Account ownership changes. More... | |
virtual ZDK::Shared::Result | SendDTMF (ZDK::DTMFCodes DTMF)=0 |
Used to send DTMF. More... | |
virtual ZDK::Shared::Result | PlayDTMFSound (ZDK::DTMFCodes DTMF)=0 |
Used to play DTMF sound. More... | |
virtual ZDK::Shared::Account | Owner () const =0 |
Returns the account owner. More... | |
virtual ZDK::Shared::String | RecordFileName () const =0 |
Gets the record file name. More... | |
virtual void | RecordFileName (ZDK::Shared::String fileName)=0 |
Sets the record file name. More... | |
virtual ZDK::Shared::Result | StartRecording ()=0 |
Start recording call. More... | |
virtual ZDK::Shared::Result | StopRecording ()=0 |
Stop recording. More... | |
virtual ZDK::Shared::Result | EnableZrtp (bool enabled)=0 |
Enables ZRTP. More... | |
virtual ZDK::Shared::Result | ConfirmZrtpSas (bool confirmed)=0 |
Enables ZRTP. More... | |
![]() | |
virtual ZDK::ZDKHandle | Handle () const =0 |
virtual | operator ZDK::ZDKHandle () const =0 |
virtual void | Initialize ()=0 |
virtual void | ReleaseReference ()=0 |
|
pure virtual |
Accepts an incoming call.
Accepts an incoming call and opens audio and video channels for communication.
|
pure virtual |
Accept a call transfer request.
Accept a call transfer request. Periodical updates on the new call's state will be sent to the old call. The old call will be hung up only after the new call is succesful.
The new call will get all the relevant callbacks.
|
pure virtual |
Accepts an incoming offer for video.
|
pure virtual |
Initiates an attended call transfer.
Initiates an attended call transfer. There have to be two calls using the same user account (call direction doesn't matter). The calls must have been accepted. They can be currently on hold. The library will put the calls on hold if they already weren't. If the transfer fails the first call will be retrieved back.
For SIP calls the REFER message will be sent to the first call.
|
pure virtual |
Initiates an unattended call transfer.
Initiates an unattended transfer (also called blind transfer). This function can be used for incoming SIP calls to redirect them. Incoming IAX2 calls cannot be redirected.
Calls that were answered (incoming or outgoing) can be transferred using this function (both SIP and IAX2).
The function returns immediately. If there is no error the process of unattended transfer will start.
|
pure virtual |
Provides the Callee name.
|
pure virtual |
Provides the Callee number.
|
pure virtual |
Gets call handle.
|
pure virtual |
Provides the used codec.
|
pure virtual |
Enables ZRTP.
|
pure virtual |
Drops all event listeners.
|
pure virtual |
Drops Call status listener.
[in] | value | The call events handler to drop |
|
pure virtual |
Drops Video status listener.
[in] | value | The call events handler to drop |
|
pure virtual |
Enables ZRTP.
|
pure virtual |
Hang up the call.
|
pure virtual |
Gets if video is present.
Gets if video is present, local or remote.
[in] | origin | The side that we want to check if video is present(local or remote) |
|
pure virtual |
Gets the Hold state.
|
pure virtual |
Sets the hold state.
|
pure virtual |
Gets the Mute state.
|
pure virtual |
Sets the Mute state.
|
pure virtual |
Notify upon Account ownership changes.
|
pure virtual |
Offers Video.
Offers video to the remote party during a normal (audio) call.
|
pure virtual |
Gets the speakers state.
|
pure virtual |
Sets the speakers state.
|
pure virtual |
Returns the account owner.
|
pure virtual |
Used to play DTMF sound.
[in] | DTMF | The DTMF you want to send |
|
pure virtual |
Gets the record file name.
|
pure virtual |
Sets the record file name.
|
pure virtual |
Rejects a call transfer request.
Rejects a call transfer request.For SIP, the call will continue as usual.
|
pure virtual |
Restart Video capture.
|
pure virtual |
Used to send DTMF.
[in] | DTMF | The DTMF you want to send |
|
pure virtual |
Send a video frame over the network.
Send an arbitrary-format frame to the remote party
The function will copy the buffer into its internal structures and schedule it for encoding and transmitting over the video call. It will return immediately.
[in] | bytes | The buffer that holds the bytes |
[in] | byteCount | The buffer size in number of bytes |
[in] | VideoFrameFormat | The format of the frame we are sending |
|
pure virtual |
Sets Call status listener.
[in] | value | The call events handler |
|
pure virtual |
Sets the video.
Sets the state of video for both remote and local
[in] | origin | The side that we want to set the video presentability |
[in] | value | The value that is changed to |
|
pure virtual |
Sets Video status listener.
[in] | value | The Video events handler |
|
pure virtual |
Start handling Call events.
|
pure virtual |
Start recording call.
|
pure virtual |
|
pure virtual |
Stops handling Call events.
|
pure virtual |
Stop recording.
|
pure virtual |
Gets Video call information.
Gets if video is present, local or remote.
[in] | origin | The side that we want to check if video is present(local or remote) |
|
pure virtual |
Provides Camera location.
Provides Camera location ( Front, Back, NA )
|
pure virtual |
Toggles the camera.