javax.telephony
Interface Call

All Known Subinterfaces:
CallControlCall

public interface Call

A Call object models a telephone call.

Field Summary
static int ACTIVE
          Supported.
The Call.ACTIVE state indicates the Call has one or more Connections, none of which are in the Connection.DISCONNECTED state.
static int IDLE
          Supported.
The Call.IDLE state indicates the Call has zero Connections.
static int INVALID
          Supported.
The Call.INVALID state indicates the Call has lost all of its connections - that is, all of its associated Connection objects have moved into the Connection.DISCONNECTED state and are no longer associated with the Call.
 
Method Summary
 void addCallListener(CallListener listener)
          Supported.
Adds an listener to the Call.
 void addObserver(CallObserver observer)
          Not Supported. Throws MethodNotSupportedException
 Connection[] connect(Terminal origterm, Address origaddr, java.lang.String dialedDigits)
          Supported.
Places a telephone call from an originating endpoint to a destination address string.
 CallCapabilities getCallCapabilities(Terminal term, Address addr)
          Not Supported. Returns null.
Deprecated. Since JTAPI v1.2. This method has been replaced by the Call.getCapabilities() method.
 CallListener[] getCallListeners()
          Supported.
Returns an array of all CallListeners on this Call.
 CallCapabilities getCapabilities(Terminal terminal, Address address)
          Not Supported. Returns null.
 Connection[] getConnections()
          Supported.
Returns an array of Connections associated with this call.
 CallObserver[] getObservers()
          Not Supported. Returns null.
 Provider getProvider()
          Supported.
Returns the Provider associated with the Call.
 int getState()
          Supported.
Returns the current state of the telephone call.
 void removeCallListener(CallListener listener)
          Supported.
Removes the given listener from the Call.
 void removeObserver(CallObserver observer)
          Not Supported.