Lines Matching defs:call

41  * Handles an Internet audio call over SIP. You can instantiate this class with {@link SipManager},
69 /** Listener for events relating to a SIP call, such as when a call is being
70 * recieved ("on ringing") or a call is outgoing ("on calling").
75 * Called when the call object is ready to make another call.
78 * @param call the call object that is ready to make another call
80 public void onReadyToCall(SipAudioCall call) {
81 onChanged(call);
85 * Called when a request is sent out to initiate a new call.
88 * @param call the call object that carries out the audio call
90 public void onCalling(SipAudioCall call) {
91 onChanged(call);
95 * Called when a new call comes in.
98 * @param call the call object that carries out the audio call
101 public void onRinging(SipAudioCall call, SipProfile caller) {
102 onChanged(call);
109 * @param call the call object that carries out the audio call
111 public void onRingingBack(SipAudioCall call) {
112 onChanged(call);
119 * @param call the call object that carries out the audio call
121 public void onCallEstablished(SipAudioCall call) {
122 onChanged(call);
129 * @param call the call object that carries out the audio call
131 public void onCallEnded(SipAudioCall call) {
132 onChanged(call);
139 * @param call the call object that carries out the audio call
141 public void onCallBusy(SipAudioCall call) {
142 onChanged(call);
146 * Called when the call is on hold.
149 * @param call the call object that carries out the audio call
151 public void onCallHeld(SipAudioCall call) {
152 onChanged(call);
158 * @param call the call object that carries out the audio call
163 public void onError(SipAudioCall call, int errorCode,
173 public void onChanged(SipAudioCall call) {
202 * Creates a call object with the local SIP profile.
213 * Sets the listener to listen to the audio call events. The method calls
216 * @param listener to listen to the audio call events of this object
224 * Sets the listener to listen to the audio call events. A
228 * @param listener to listen to the audio call events of this object
269 * Checks if the call is established.
271 * @return true if the call is established
280 * Checks if the call is on hold.
282 * @return true if the call is on hold
335 * Gets the state of the {@link SipSession} that carries this call.
349 * Gets the {@link SipSession} that carries this call.
351 * @return the session object that carries this call
366 // stop the replaced call.
398 Log.d(TAG, "sip call ringing back: " + session);
462 Log.d(TAG, "sip call ended: " + session + " mSipSession:" + mSipSession);
486 Log.d(TAG, "sip call busy: " + session);
501 Log.d(TAG, "sip call change failed: " + message);
586 * Attaches an incoming call to this call object.
588 * @param session the session that receives the incoming call
589 * @param sessionDescription the session description of the incoming call
614 * Initiates an audio call to the specified profile. The attempt will be
615 * timed out if the call is not established within {@code timeout} seconds
619 * @param peerProfile the SIP profile to make the call to
620 * @param sipSession the {@link SipSession} for carrying out the call
625 * call or VOIP API is not supported by the device
649 * Ends a call.
650 * @throws SipException if the SIP service fails to end the call
663 * Puts a call on hold. When succeeds, {@link Listener#onCallHeld} is
664 * called. The attempt will be timed out if the call is not established
672 * @throws SipException if the SIP service fails to hold the call
678 throw new SipException("Not in a call to hold call");
687 * Answers a call. The attempt will be timed out if the call is not
695 * @throws SipException if the SIP service fails to answer the call
700 throw new SipException("No call to answer");
713 * Continues a call that's on hold. When succeeds,
715 * out if the call is not established within {@code timeout} seconds and
722 * @throws SipException if the SIP service fails to unhold the call
857 * Checks if the call is muted.
859 * @return true if the call is muted
923 * Gets the {@link AudioStream} object used in this call. The object
925 * peer. The object may not be created before the call is established. And
926 * it is undefined after the call ends or the {@link #close} method is
941 * joins. The group object may not exist before the call is established.
942 * Also, the {@code AudioStream} may change its group during a call (e.g.,
943 * after the call is held/un-held). Finally, the {@code AudioGroup} object
944 * returned by this method is undefined after the call ends or the
966 * multiple {@code SipAudioCall} objects to form a conference call. The
982 * Starts the audio for the established call. This method should be called