Channels
interface Channels
Content copied to clipboard
This module is used to manage channels.
Functions
acceptChannelInvitation
Link copied to clipboard
abstract fun acceptChannelInvitation(channelId: String?, listener: IChannelProxy.IChannelAcceptInvitationListener?)
Content copied to clipboard
addUsersToChannel
Link copied to clipboard
abstract fun addUsersToChannel(channel: Channel, type: ChannelUser.ChannelUserType, contacts: ArrayList<IRainbowContact>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
abstract fun addUsersToChannel(channel: Channel, type: ChannelUser.ChannelUserType, contactsId: Array<String>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
createChannel
Link copied to clipboard
abstract fun createChannel(name: String, description: String?, mode: Channel.ChannelMode?, category: String?, autoProvisioning: Boolean, maxItems: Int, listener: IChannelProxy.IChannelCreateListener?)
Content copied to clipboard
createClosedChannel
Link copied to clipboard
abstract fun createClosedChannel(name: String, description: String?, category: String?, autoProvisioning: Boolean, maxItems: Int, listener: IChannelProxy.IChannelCreateListener?)
Content copied to clipboard
createItem
Link copied to clipboard
abstract fun createItem(channel: Channel?, channelItem: IChannelItem?, listener: IChannelProxy.IChannelCreateItemListener?)
Content copied to clipboard
createPublicChannel
Link copied to clipboard
abstract fun createPublicChannel(name: String, description: String?, category: String?, maxItems: Int, listener: IChannelProxy.IChannelCreateListener?)
Content copied to clipboard
declineChannelInvitation
Link copied to clipboard
abstract fun declineChannelInvitation(channelId: String?, listener: IChannelProxy.IChannelDeclineInvitationListener?)
Content copied to clipboard
deleteAllUsersFromChannel
Link copied to clipboard
abstract fun deleteAllUsersFromChannel(channel: Channel, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
deleteChannel
Link copied to clipboard
abstract fun deleteChannel(channel: Channel?, listener: IChannelProxy.IChannelDeleteListener?)
Content copied to clipboard
deleteItem
Link copied to clipboard
abstract fun deleteItem(channelId: String?, itemId: String?, listener: IChannelProxy.IChannelDeleteItemListener?)
Content copied to clipboard
deleteUsersFromChannel
Link copied to clipboard
abstract fun deleteUsersFromChannel(channel: Channel, contacts: ArrayList<IRainbowContact>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
abstract fun deleteUsersFromChannel(channel: Channel, contactsId: Array<String>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
fetchChannelsByCategory
Link copied to clipboard
abstract fun fetchChannelsByCategory(category: String?, limit: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
abstract fun fetchChannelsByCategory(category: String?, excludedCategories: ArrayList<String>?, limit: Int, offset: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
fetchChannelsByDescription
Link copied to clipboard
abstract fun fetchChannelsByDescription(description: String?, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
fetchChannelsByName
Link copied to clipboard
abstract fun fetchChannelsByName(name: String?, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
fetchFilteredUsers
Link copied to clipboard
abstract fun fetchFilteredUsers(channel: Channel, filter: ChannelMgr.ChannelUserFilter, offset: Int, limit: Int, listener: IChannelProxy.IChannelFetchUsersListener?)
Content copied to clipboard
fetchItems
Link copied to clipboard
abstract fun fetchItems(channel: Channel, itemsCount: Int, listener: IChannelProxy.IChannelFetchItemsListener?)
Content copied to clipboard
fetchLatestItems
Link copied to clipboard
abstract fun fetchLatestItems(itemsCount: Int, listener: IChannelProxy.IChannelFetchLatestItemsListener?)
Content copied to clipboard
fetchMostFollowedChannels
Link copied to clipboard
abstract fun fetchMostFollowedChannels(limit: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
abstract fun fetchMostFollowedChannels(limit: Int, offset: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
fetchMostRecentChannels
Link copied to clipboard
abstract fun fetchMostRecentChannels(limit: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
abstract fun fetchMostRecentChannels(limit: Int, offset: Int, listener: IChannelProxy.IChannelFetchListener?)
Content copied to clipboard
fetchNextItems
Link copied to clipboard
abstract fun fetchNextItems(channel: Channel, itemsCount: Int, date: Date?, listener: IChannelProxy.IChannelFetchItemsListener?)
Content copied to clipboard
fetchNextLatestItems
Link copied to clipboard
abstract fun fetchNextLatestItems(itemsCount: Int, date: Date?, listener: IChannelProxy.IChannelFetchLatestItemsListener?)
Content copied to clipboard
fetchReactionsForChannelItem
Link copied to clipboard
abstract fun fetchReactionsForChannelItem(channelId: String?, channelItemId: String?, reactionType: ChannelItem.ReactionType?, nb: Int, offset: Int, listener: IChannelProxy.IFetchReactionsListener?)
Content copied to clipboard
fetchUsers
Link copied to clipboard
abstract fun fetchUsers(channel: Channel, listener: IChannelProxy.IChannelFetchUsersListener?)
Content copied to clipboard
abstract fun fetchUsers(channel: Channel, limit: Int, listener: IChannelProxy.IChannelFetchUsersListener?)
Content copied to clipboard
abstract fun fetchUsers(channel: Channel?, offset: Int, limit: Int, listener: IChannelProxy.IChannelFetchUsersListener?)
Content copied to clipboard
fetchUsersByName
Link copied to clipboard
abstract fun fetchUsersByName(channel: Channel, nameToSearch: String, listener: IChannelProxy.IChannelFetchUsersListener?)
Content copied to clipboard
getChannelById
Link copied to clipboard
getChannelByName
Link copied to clipboard
markAllItemsAsRead
Link copied to clipboard
muteChannel
Link copied to clipboard
abstract fun muteChannel(channel: Channel?, listener: IChannelProxy.IChannelMuteListener?)
Content copied to clipboard
registerChangeListener
Link copied to clipboard
abstract fun registerChangeListener(changeListener: IItemListChangeListener?)
Content copied to clipboard
removeUserReactionForChannelItem
Link copied to clipboard
abstract fun removeUserReactionForChannelItem(channelId: String?, itemId: String?, listener: IChannelProxy.IUpdateUserReactionListener?)
Content copied to clipboard
subscribeToChannel
Link copied to clipboard
abstract fun subscribeToChannel(channel: Channel, listener: IChannelProxy.IChannelSubscribeListener?)
Content copied to clipboard
unMuteChannel
Link copied to clipboard
abstract fun unMuteChannel(channel: Channel?, listener: IChannelProxy.IChannelUnMuteListener?)
Content copied to clipboard
unregisterChangeListener
Link copied to clipboard
abstract fun unregisterChangeListener(changeListener: IItemListChangeListener?)
Content copied to clipboard
unsubscribeToChannel
Link copied to clipboard
abstract fun unsubscribeToChannel(channel: Channel, listener: IChannelProxy.IChannelUnsubscribeListener?)
Content copied to clipboard
updateChannelDescription
Link copied to clipboard
abstract fun updateChannelDescription(channel: Channel?, description: String?, listener: IChannelProxy.IChannelUpdateListener?)
Content copied to clipboard
updateItem
Link copied to clipboard
abstract fun updateItem(channel: Channel, itemId: String?, channelItem: IChannelItem, listener: IChannelProxy.IChannelCreateItemListener?)
Content copied to clipboard
updateUserReactionForChannelItem
Link copied to clipboard
abstract fun updateUserReactionForChannelItem(channelId: String?, itemId: String?, reactionType: ChannelItem.ReactionType?, listener: IChannelProxy.IUpdateUserReactionListener?)
Content copied to clipboard
updateUsersToChannel
Link copied to clipboard
abstract fun updateUsersToChannel(channel: Channel, type: ChannelUser.ChannelUserType, contacts: ArrayList<IRainbowContact>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
abstract fun updateUsersToChannel(channel: Channel, type: ChannelUser.ChannelUserType, contactsId: Array<String>, listener: IChannelProxy.IChannelUpdateUsersListener?)
Content copied to clipboard
uploadChannelAvatar
Link copied to clipboard
abstract fun uploadChannelAvatar(channelId: String?, feedAvatar: File?, listener: IAvatarProxy.IAvatarListener?)
Content copied to clipboard
Properties
allChannels
Link copied to clipboard
allOwnedChannels
Link copied to clipboard
allPendingChannels
Link copied to clipboard
allSubscribedChannels
Link copied to clipboard
allUserChannels
Link copied to clipboard
tenMostFollowedChannels
Link copied to clipboard
tenMostRecentChannels
Link copied to clipboard