SipRegistrationListener
public
interface
SipRegistrationListener
android.net.sip.SipRegistrationListener |
This interface was deprecated
in API level 31.
SipManager
and associated classes are no longer supported and
should not be used as the basis of future VOIP apps.
Listener for SIP registration events.
Summary
Public methods | |
---|---|
abstract
void
|
onRegistering(String localProfileUri)
Called when a registration request is sent. |
abstract
void
|
onRegistrationDone(String localProfileUri, long expiryTime)
Called when the registration succeeded. |
abstract
void
|
onRegistrationFailed(String localProfileUri, int errorCode, String errorMessage)
Called when the registration failed. |
Public methods
onRegistering
public abstract void onRegistering (String localProfileUri)
Called when a registration request is sent.
Parameters | |
---|---|
localProfileUri |
String : the URI string of the SIP profile to register with |
onRegistrationDone
public abstract void onRegistrationDone (String localProfileUri, long expiryTime)
Called when the registration succeeded.
Parameters | |
---|---|
localProfileUri |
String : the URI string of the SIP profile to register with |
expiryTime |
long : duration in seconds before the registration expires |
onRegistrationFailed
public abstract void onRegistrationFailed (String localProfileUri, int errorCode, String errorMessage)
Called when the registration failed.
Parameters | |
---|---|
localProfileUri |
String : the URI string of the SIP profile to register with |
errorCode |
int : error code of this error |
errorMessage |
String : error message |
See also: