fetchChannelsByCategory

abstract fun fetchChannelsByCategory(category: String?, limit: Int, listener: IChannelProxy.IChannelFetchListener?)

Fetch channels by its category (from server).

The response is sent in the success callback as a List<@object:Channel>.

Parameters

category

String category of the channel

limit

int max items to fetch

listener

IChannelDiscoverListener Callback

abstract fun fetchChannelsByCategory(category: String?, excludedCategories: ArrayList<String>?, limit: Int, offset: Int, listener: IChannelProxy.IChannelFetchListener?)

Fetch channels by its category (from server). You can use either category parameter to get all channels from this category, or you can user excludedCategories parameter to get all channels not in these categories.

The response is sent in the success callback as a List<@object:Channel>.

Parameters

category

String category of the channel

excludedCategories

List excluded categories

limit

int max items to fetch

listener

IChannelDiscoverListener Callback