to top
Android APIs
Added in API level 9
public interface

SipRegistrationListener

android.net.sip.SipRegistrationListener

Class Overview

Listener for SIP registration events.

Summary

Public Methods

? Examples
abstract void onRegistering( String localProfileUri)
Called when a registration request is sent.

? Examples
abstract void onRegistrationDone( String localProfileUri, long expiryTime)
Called when the registration succeeded.

? Examples
abstract void onRegistrationFailed( String localProfileUri, int errorCode, String errorMessage)
Called when the registration failed.

Public Methods

public abstract void onRegistering (String localProfileUri)

Added in API level 9

Called when a registration request is sent.

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

public abstract void onRegistrationDone (String localProfileUri, long expiryTime)

Added in API level 9

Called when the registration succeeded.

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

public abstract void onRegistrationFailed (String localProfileUri, int errorCode, String errorMessage)

Added in API level 9

Called when the registration failed.

Parameters
localProfileUri the URI string of the SIP profile to register with
errorCode error code of this error
errorMessage error message
See Also
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.