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

GroupListener

public interface GroupListener
Interface for group change events.

Fields Summary
public static final int
ERROR_CREATING_GROUP
public static final int
ERROR_DELETING_GROUP
public static final int
ERROR_JOINING_IN_GROUP
public static final int
ERROR_LEAVING_GROUP
Constructors Summary
Methods Summary
public voidonGroupCreated(ChatGroup group)
Called when a chat group was successfully created.

param
group the group was created.

public voidonGroupDeleted(ChatGroup group)
Called when a chat group was successfully deleted.

param
group the group was deleted.

public voidonGroupError(int errorType, java.lang.String groupName, ImErrorInfo error)
Called when an error occurs with a certain group operation.

param
errorType the type of the error
param
error the error information.

public voidonJoinedGroup(ChatGroup group)
Called on joining in a chat group successfully.

param
group the group which was joined into.

public voidonLeftGroup(ChatGroup group)
Called on leaving a chat group. It may be triggered by the user leaving a group or a server initiated group leaving, e.g. the user got kicked out of the group, the group is deleted, etc.

param
group the group has left.