android.net.sip
Class SipAudioCall
java.lang.Object
android.net.sip.SipAudioCall
public class SipAudioCall
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SipAudioCall
public SipAudioCall(Context context,
SipProfile localProfile)
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.