public interface SipRegistrationListener
Modifier and Type | Method and Description |
---|---|
void |
onRegistering(String localProfileUri)
Called when a registration request is sent.
|
void |
onRegistrationDone(String localProfileUri,
long expiryTime)
Called when the registration succeeded.
|
void |
onRegistrationFailed(String localProfileUri,
int errorCode,
String errorMessage)
Called when the registration failed.
|
void onRegistering(String localProfileUri)
localProfileUri
- the URI string of the SIP profile to register withvoid onRegistrationDone(String localProfileUri, long expiryTime)
localProfileUri
- the URI string of the SIP profile to register withexpiryTime
- duration in seconds before the registration expiresvoid onRegistrationFailed(String localProfileUri, int errorCode, String errorMessage)
localProfileUri
- the URI string of the SIP profile to register witherrorCode
- error code of this errorerrorMessage
- error messageSipErrorCode