Channels
This module is used to manage channels.
Types
Interface defining callbacks for handling events related to Channels within the SDK.
Properties
Get all channels (user and others). The returned @object:ArrayItemList object allows you to listen changes.
Get all user's owned channels (locally).
Get all pending channels (locally). User should accept or decline it with acceptChannelInvitation() or declineChannelInvitation().
Get all user's subscribed channels (locally).
Get all user's channels (locally). You can also register a listener for listening changes : see registerChangeListener(...)
Get ten most followed channels (locally).
Get ten most recent channels (locally).
Functions
Accept a Channel invitation.
Adds users to a Channel with specific ChannelUserAffiliationType.
Browse channels.
Create a closed company channel.
Create a closed company channel.
Adds ChannelItem to a Channel
Create a public company channel.
Decline a Channel invitation.
Removes all users from a Channel.
Delete a channel
Delete the photo of the specified channel.
Deletes an ChannelItem from a Channel.
Removes users from a Channel.
Fetch items from a specific channel
Fetch channels by categories
Fetch channels by its description (from server).
Fetch channels by its name (from server).
Fetch latest items from all subscribed channels
Fetch most followed channels
Fetch most recent channels
Fetch reactions from a given channel item with specified limit and offset.
Fetch users from a given channel with specified limit and offset.
Fetch users matching given names (from server). The search is done on users firstName and lastName and provides channel affiliation information.
Get a @object:Channel from its id (locally).
Get a @object:Channel by its name but only in the user channels (locally).
Mark all message items of the channel as read.
Mute a Channel (no PUSH notification will be received).
Register a listener for being notified about channels changes.
Registers an implementation of IChannelsListener to receive callbacks when the SDK notifies of a new event.
Removes the user reaction of a channel item
Search channels.
Subscribe to a channel.
UnMute a Channel (PUSH notification will be received).
Unregister a listener for being notified about channels changes.
Unregisters a previously registered IChannelsListener, stopping callbacks for events.
Unsubscribe from a subscribed channel.
Update a channel.
Updates a ChannelItem object inside a Channel
Updates the user reaction of a channel item
Updates users to a Channel with specific ChannelUserAffiliationType.
Upload channel avatar.