VoiceCallSource Interface Reference
Inheritance diagram for VoiceCallSource:
Public Member Functions | |
String | getId () |
Method to retrieve Voice Call source id. More... | |
SourceStatus | getStatus () |
Method to retrieve Voice Call source status. More... | |
List< Call > | getCalls () |
Call | makeCall (String destination) throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
Initiate a new call. More... | |
void | setCallConfiguration (VoiceCallConfiguration configuration) throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
Set a specific call configuration parameter. More... | |
List< VoiceCallConfiguration > | getCallConfiguration (List< VoiceCallConfiguration.CallParameter > parameterList) throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
Retrieve one or more call configuration parameters. 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
List<VoiceCallConfiguration> getCallConfiguration | ( | List< VoiceCallConfiguration.CallParameter > | parameterList | ) | throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
- Parameters
-
parameterList list of parameters to be retrieved
- Exceptions
-
VoiceCallNotAvailableException VoiceCallLowLevelException
List<Call> getCalls | ( | ) |
- Returns
- list of calls corresponding to the source
This method retrieves the information from all the calls that have been registered historically even if the corresponding sources do not exist anymore.
String getId | ( | ) |
- Returns
- source id
SourceStatus getStatus | ( | ) |
- Returns
- source status
Call makeCall | ( | String | destination | ) | throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
- Parameters
-
destination number or direction to which the call will be made
- Returns
- call object
- Exceptions
-
VoiceCallNotAvailableException VoiceCallLowLevelException
void setCallConfiguration | ( | VoiceCallConfiguration | configuration | ) | throws VoiceCallNotAvailableException, VoiceCallLowLevelException |
- Parameters
-
configuration
- Exceptions
-
VoiceCallNotAvailableException VoiceCallLowLevelException