browse Channels
abstract fun browseChannels(categories: List<String>? = null, excludedCategories: List<String>? = null, subscribed: Boolean? = null, limit: Int = 100, offset: Int = 0, sortField: String = "subscribers_count", sortOrder: Int = -1, listener: RainbowListener<List<Channel>, Unit>? = null)
Browse channels.
Parameters
categories
List
excluded Categories
List
subscribed
Boolean Browse among subscribed or non subscribed channels only
limit
Int Allow to specify the number of channels to retrieve (default value 100)
offset
Int Allow to specify the position of first channel to retrieve (default value 0)
sort Field
String Sort channels based on the given field (default value name, authorized values : name, topic, creationDate, subscribers_count)
sort Order
Int Specify order ascending (1) / descending (2)
listener
RainbowListener, Unit> callback (onSuccess, onError)