FileDocCategorySizeDatePackage
ISipSessionListener.javaAPI DocAndroid 5.1 API20940Sat Mar 14 02:05:32 GMT 2015android.net.sip

ISipSessionListener

public interface ISipSessionListener implements android.os.IInterface
Listener class to listen to SIP session events.
hide

Fields Summary
Constructors Summary
Methods Summary
public voidonCallBusy(android.net.sip.ISipSession session)
Called when the peer is busy during session initialization.

param
session the session object that carries out the transaction

public voidonCallChangeFailed(android.net.sip.ISipSession session, int errorCode, java.lang.String errorMessage)
Called when an error occurs during session modification negotiation.

param
session the session object that carries out the transaction
param
errorCode error code defined in {@link SipErrorCode}
param
errorMessage error message

public voidonCallEnded(android.net.sip.ISipSession session)
Called when the session is terminated.

param
session the session object that is associated with the dialog

public voidonCallEstablished(android.net.sip.ISipSession session, java.lang.String sessionDescription)
Called when the session is established.

param
session the session object that is associated with the dialog
param
sessionDescription the peer's session description

public voidonCallTransferring(android.net.sip.ISipSession newSession, java.lang.String sessionDescription)
Called when the call is being transferred to a new one.

param
newSession the new session that the call will be transferred to
param
sessionDescription the new peer's session description

public voidonCalling(android.net.sip.ISipSession session)
Called when an INVITE request is sent to initiate a new call.

param
session the session object that carries out the transaction

public voidonError(android.net.sip.ISipSession session, int errorCode, java.lang.String errorMessage)
Called when an error occurs during session initialization and termination.

param
session the session object that carries out the transaction
param
errorCode error code defined in {@link SipErrorCode}
param
errorMessage error message

public voidonRegistering(android.net.sip.ISipSession session)
Called when a registration request is sent.

param
session the session object that carries out the transaction

public voidonRegistrationDone(android.net.sip.ISipSession session, int duration)
Called when registration is successfully done.

param
session the session object that carries out the transaction
param
duration duration in second before the registration expires

public voidonRegistrationFailed(android.net.sip.ISipSession session, int errorCode, java.lang.String errorMessage)
Called when the registration fails.

param
session the session object that carries out the transaction
param
errorCode error code defined in {@link SipErrorCode}
param
errorMessage error message

public voidonRegistrationTimeout(android.net.sip.ISipSession session)
Called when the registration gets timed out.

param
session the session object that carries out the transaction

public voidonRinging(android.net.sip.ISipSession session, android.net.sip.SipProfile caller, java.lang.String sessionDescription)
Called when an INVITE request is received.

param
session the session object that carries out the transaction
param
caller the SIP profile of the caller
param
sessionDescription the caller's session description

public voidonRingingBack(android.net.sip.ISipSession session)
Called when a RINGING response is received for the INVITE request sent

param
session the session object that carries out the transaction