Call Interface Reference
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
void answerCall | ( | ) | throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
- Exceptions
-
VoiceCallNotAvailableException VoiceCallLowLevelException
void finishCall | ( | ) | throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
- Exceptions
-
VoiceCallNotAvailableException VoiceCallLowLevelException
CallInformation getCallInformation | ( | ) | throws VoiceCallLowLevelException, VoiceCallNotAvailableException |
- 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
VoiceCallSource getSource | ( | ) |
- Returns
- Call id