android.net.sip
Class SipAudioCall

java.lang.Object
  extended by android.net.sip.SipAudioCall

public class SipAudioCall
extends Object


Nested Class Summary
static class SipAudioCall.Listener
           
 
Constructor Summary
SipAudioCall(Context context, SipProfile localProfile)
           
 
Method Summary
 void answerCall(int timeout)
           
 void attachCall(SipSession session, String sessionDescription)
           
 void close()
           
 void continueCall(int timeout)
           
 void endCall()
           
 SipProfile getLocalProfile()
           
 SipProfile getPeerProfile()
           
 int getState()
           
 void holdCall(int timeout)
           
 boolean isInCall()
           
 boolean isMuted()
           
 boolean isOnHold()
           
 void makeCall(SipProfile peerProfile, SipSession sipSession, int timeout)
           
 void sendDtmf(int code)
           
 void sendDtmf(int code, Message result)
           
 void setListener(SipAudioCall.Listener listener)
           
 void setListener(SipAudioCall.Listener listener, boolean callbackImmediately)
           
 void setSpeakerMode(boolean speakerMode)
           
 void startAudio()
           
 void toggleMute()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SipAudioCall

public SipAudioCall(Context context,
                    SipProfile localProfile)
Method Detail

setListener

public void setListener(SipAudioCall.Listener listener)

setListener

public void setListener(SipAudioCall.Listener listener,
                        boolean callbackImmediately)

isInCall

public boolean isInCall()

isOnHold

public boolean isOnHold()

close

public void close()

getLocalProfile

public SipProfile getLocalProfile()

getPeerProfile

public SipProfile getPeerProfile()

getState

public int getState()

attachCall

public void attachCall(SipSession session,
                       String sessionDescription)
                throws SipException
Throws:
SipException

makeCall

public void makeCall(SipProfile peerProfile,
                     SipSession sipSession,
                     int timeout)
              throws SipException
Throws:
SipException

endCall

public void endCall()
             throws SipException
Throws:
SipException

holdCall

public void holdCall(int timeout)
              throws SipException
Throws:
SipException

answerCall

public void answerCall(int timeout)
                throws SipException
Throws:
SipException

continueCall

public void continueCall(int timeout)
                  throws SipException
Throws:
SipException

toggleMute

public void toggleMute()

isMuted

public boolean isMuted()

setSpeakerMode

public void setSpeakerMode(boolean speakerMode)

sendDtmf

public void sendDtmf(int code)

sendDtmf

public void sendDtmf(int code,
                     Message result)

startAudio

public void startAudio()


Copyright © 2008-2010. All Rights Reserved.