Skip to content

Most visited

Recently visited

navigation
added in API level 9

SipRegistrationListener

public interface SipRegistrationListener

android.net.sip.SipRegistrationListener


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

added in API level 9
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

added in API level 9
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

added in API level 9
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:

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)