Groups

interface Groups

This module is used to manage the groups.

Functions

addParticipantToGroup
Link copied to clipboard
abstract fun addParticipantToGroup(group: Group?, contact: IRainbowContact?, listener: IGroupProxy.IAddUserInGroupListener?)
Add one participant to a group.
createGroup
Link copied to clipboard
abstract fun createGroup(name: String?, description: String?, listener: IGroupProxy.IGroupCreationListener?)
Create a group with a name and a description.
deleteGroup
Link copied to clipboard
abstract fun deleteGroup(group: Group?, listener: IGroupProxy.IGroupDeletionListener?)
Delete a group.
deleteParticipantFromGroup
Link copied to clipboard
abstract fun deleteParticipantFromGroup(group: Group?, contact: IRainbowContact?, listener: IGroupProxy.IDeleteUserInGroupListener?)
Delete one participant from a group.
findGroupById
Link copied to clipboard
abstract fun findGroupById(groupId: String?): Group?
Find the @object:Group object by its id.
findGroupByName
Link copied to clipboard
abstract fun findGroupByName(groupName: String?): Group?
Find the @object:Group object by its name
refreshGroups
Link copied to clipboard
abstract fun refreshGroups(listener: IResultListener?)
Refresh the list of groupAfter refresh is done, the list allGroups is automatically updated
updateGroup
Link copied to clipboard
abstract fun updateGroup(group: Group?, listener: IGroupProxy.IGroupCreationListener?)
Update a group.

Properties

allGroups
Link copied to clipboard
abstract val allGroups: ArrayItemList<Group>
Get all groups.