Lines Matching defs:call

35  * Handles an Internet audio call over SIP. You can instantiate this class with {@link SipManager},
64 /** Listener for events relating to a SIP call, such as when a call is being
65 * recieved ("on ringing") or a call is outgoing ("on calling").
70 * Called when the call object is ready to make another call.
73 * @param call the call object that is ready to make another call
75 public void onReadyToCall(SipAudioCall call) {
76 onChanged(call);
80 * Called when a request is sent out to initiate a new call.
83 * @param call the call object that carries out the audio call
85 public void onCalling(SipAudioCall call) {
86 onChanged(call);
90 * Called when a new call comes in.
93 * @param call the call object that carries out the audio call
96 public void onRinging(SipAudioCall call, SipProfile caller) {
97 onChanged(call);
104 * @param call the call object that carries out the audio call
106 public void onRingingBack(SipAudioCall call) {
107 onChanged(call);
114 * @param call the call object that carries out the audio call
116 public void onCallEstablished(SipAudioCall call) {
117 onChanged(call);
124 * @param call the call object that carries out the audio call
126 public void onCallEnded(SipAudioCall call) {
127 onChanged(call);
134 * @param call the call object that carries out the audio call
136 public void onCallBusy(SipAudioCall call) {
137 onChanged(call);
141 * Called when the call is on hold.
144 * @param call the call object that carries out the audio call
146 public void onCallHeld(SipAudioCall call) {
147 onChanged(call);
153 * @param call the call object that carries out the audio call
158 public void onError(SipAudioCall call, int errorCode,
168 public void onChanged(SipAudioCall call) {
196 * Creates a call object with the local SIP profile.
207 * Sets the listener to listen to the audio call events. The method calls
210 * @param listener to listen to the audio call events of this object
218 * Sets the listener to listen to the audio call events. A
222 * @param listener to listen to the audio call events of this object
263 * Checks if the call is established.
265 * @return true if the call is established
274 * Checks if the call is on hold.
276 * @return true if the call is on hold
329 * Gets the state of the {@link SipSession} that carries this call.
343 * Gets the {@link SipSession} that carries this call.
345 * @return the session object that carries this call
360 // stop the replaced call.
580 * Attaches an incoming call to this call object.
582 * @param session the session that receives the incoming call
583 * @param sessionDescription the session description of the incoming call
608 * Initiates an audio call to the specified profile. The attempt will be
609 * timed out if the call is not established within {@code timeout} seconds
613 * @param peerProfile the SIP profile to make the call to
614 * @param sipSession the {@link SipSession} for carrying out the call
619 * call or VOIP API is not supported by the device
645 * Ends a call.
646 * @throws SipException if the SIP service fails to end the call
660 * Puts a call on hold. When succeeds, {@link Listener#onCallHeld} is
661 * called. The attempt will be timed out if the call is not established
669 * @throws SipException if the SIP service fails to hold the call
677 throw new SipException("Not in a call to hold call");
686 * Answers a call. The attempt will be timed out if the call is not
694 * @throws SipException if the SIP service fails to answer the call
700 throw new SipException("No call to answer");
714 * Continues a call that's on hold. When succeeds,
716 * out if the call is not established within {@code timeout} seconds and
723 * @throws SipException if the SIP service fails to unhold the call
864 * Checks if the call is muted.
866 * @return true if the call is muted
930 * Gets the {@link AudioStream} object used in this call. The object
932 * peer. The object may not be created before the call is established. And
933 * it is undefined after the call ends or the {@link #close} method is
948 * joins. The group object may not exist before the call is established.
949 * Also, the {@code AudioStream} may change its group during a call (e.g.,
950 * after the call is held/un-held). Finally, the {@code AudioGroup} object
951 * returned by this method is undefined after the call ends or the
973 * multiple {@code SipAudioCall} objects to form a conference call. The
990 * Starts the audio for the established call. This method should be called