FileDocCategorySizeDatePackage
SipRegistrationListener.javaAPI DocAndroid 5.1 API1610Thu Mar 12 22:22:52 GMT 2015android.net.sip

SipRegistrationListener

public interface SipRegistrationListener
Listener for SIP registration events.

Fields Summary
Constructors Summary
Methods Summary
public voidonRegistering(java.lang.String localProfileUri)
Called when a registration request is sent.

param
localProfileUri the URI string of the SIP profile to register with

public voidonRegistrationDone(java.lang.String localProfileUri, long expiryTime)
Called when the registration succeeded.

param
localProfileUri the URI string of the SIP profile to register with
param
expiryTime duration in seconds before the registration expires

public voidonRegistrationFailed(java.lang.String localProfileUri, int errorCode, java.lang.String errorMessage)
Called when the registration failed.

param
localProfileUri the URI string of the SIP profile to register with
param
errorCode error code of this error
param
errorMessage error message
see
SipErrorCode