-
public interface GroupChannelCollectionHandler
An interface used in com.sendbird.android.GroupChannelCollection.
since 3.1.0
-
-
Method Summary
Modifier and Type Method Description abstract Unit
onChannelsAdded(GroupChannelContext context, List<GroupChannel> channels)
Called when there are newly added GroupChannels. abstract Unit
onChannelsUpdated(GroupChannelContext context, List<GroupChannel> channels)
Called when there's an update in one or more of the GroupChannels the com.sendbird.android.GroupChannelCollection holds. abstract Unit
onChannelsDeleted(GroupChannelContext context, List<String> deletedChannelUrls)
Called when one or more of the GroupChannels the com.sendbird.android.GroupChannelCollection holds has been deleted. -
-
Method Detail
-
onChannelsAdded
abstract Unit onChannelsAdded(GroupChannelContext context, List<GroupChannel> channels)
Called when there are newly added GroupChannels.
since 3.1.0
- Parameters:
context
- a GroupChannelContext of where this change happened.channels
- affected GroupChannel lists.
-
onChannelsUpdated
abstract Unit onChannelsUpdated(GroupChannelContext context, List<GroupChannel> channels)
Called when there's an update in one or more of the GroupChannels the com.sendbird.android.GroupChannelCollection holds.
since 3.1.0
- Parameters:
context
- a GroupChannelContext of where this change happened.channels
- affected GroupChannel lists.
-
onChannelsDeleted
abstract Unit onChannelsDeleted(GroupChannelContext context, List<String> deletedChannelUrls)
Called when one or more of the GroupChannels the com.sendbird.android.GroupChannelCollection holds has been deleted.
since 3.1.0
- Parameters:
context
- a GroupChannelContext of where this deletion happened.deletedChannelUrls
- deleted GroupChannel's url lists.
-
-
-
-