allChannels

abstract val allChannels: ArrayItemList<Channel>

Get all channels (user's, owned, subscribed, pending, and most followed/recent). The returned ArrayItemList object allows you to listen for changes.

This property provides a continuously updated list of Channel objects, representing all channels that the user is associated with. This includes:

Behavior:

  • The allChannels automatically reflects real-time changes whenever new channels are created or existing channels are updated across these categories.

  • The list will remain active and updated as long as the user is authenticated and the application is in use.

Usage:

  • This property can be observed by registering a listener on the ArrayItemList using its registerChangeListener method.

  • Use it to keep your UI or other application components synchronized with the latest state of available channels.

Return

An ArrayItemList emitting a list of Channel objects, updated as channels are created, modified, or updated within the categories of user-owned, subscribed, pending, followed, and recent channels.