Class defining a Call.

Inheritance diagram for Call:

Public Member Functions

VoiceCallSource getSource ()
 Gets call id. More...
 
CallInformation getCallInformation () throws VoiceCallLowLevelException, VoiceCallNotAvailableException
 Gets call information. More...
 
void answerCall () throws VoiceCallNotAvailableException, VoiceCallLowLevelException
 Answer a incoming call. More...
 
void finishCall () throws VoiceCallNotAvailableException, VoiceCallLowLevelException
 Finish specified call. More...
 
- Public Member Functions inherited from Subject< T extends Observer< U, U extends Event >
void subscribe (T observer) throws CannotSubscribeException
 
void unSubscribe (T observer) throws ObserverNotSubscribedException
 

Member Function Documentation

◆ answerCall()

Exceptions
VoiceCallNotAvailableException
VoiceCallLowLevelException

◆ finishCall()

Exceptions
VoiceCallNotAvailableException
VoiceCallLowLevelException

◆ getCallInformation()

Returns
call information

Note that while the call is active, in order to be aware of the call duration , it is needed to poll this method periodically or calculate it given its creation date.

Exceptions
VoiceCallNotAvailableException
VoiceCallLowLevelException

◆ getSource()

VoiceCallSource getSource ( )
Returns
Call id