public class SipAudioCall extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SipAudioCall.Listener |
| Constructor and Description |
|---|
SipAudioCall(Context context,
SipProfile localProfile) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public SipAudioCall(Context context, SipProfile localProfile)
public void setListener(SipAudioCall.Listener listener)
public void setListener(SipAudioCall.Listener listener, boolean callbackImmediately)
public boolean isInCall()
public boolean isOnHold()
public void close()
public SipProfile getLocalProfile()
public SipProfile getPeerProfile()
public int getState()
public void attachCall(SipSession session, String sessionDescription) throws SipException
SipExceptionpublic void makeCall(SipProfile peerProfile, SipSession sipSession, int timeout) throws SipException
SipExceptionpublic void endCall()
throws SipException
SipExceptionpublic void holdCall(int timeout)
throws SipException
SipExceptionpublic void answerCall(int timeout)
throws SipException
SipExceptionpublic void continueCall(int timeout)
throws SipException
SipExceptionpublic void toggleMute()
public boolean isMuted()
public void setSpeakerMode(boolean speakerMode)
public void sendDtmf(int code)
public void sendDtmf(int code,
Message result)
public void startAudio()
Copyright © 2008-2013. All Rights Reserved.