FileDocCategorySizeDatePackage
ConnectionListener.javaAPI DocAndroid 1.5 API1319Wed May 06 22:42:46 BST 2009com.android.im.engine

ConnectionListener

public interface ConnectionListener
Interface that allows the implementing classes to listen to connection relative events. Listeners are registered with ImConnection.

Fields Summary
Constructors Summary
Methods Summary
public voidonStateChanged(int state, ImErrorInfo error)
Called when the connection's state has changed.

param
state the new state of the connection.
param
error the error which caused the state change or null it's a normal state change.

public voidonUpdatePresenceError(ImErrorInfo error)

public voidonUserPresenceUpdated()