ChannelsApi

class ChannelsApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun getAllChannelFeatures(): Response<List<<Error class: unknown class>>>

Get all channel features.

Link copied to clipboard
suspend fun getChannelFeatures(channelId: <Error class: unknown class>): Response<<Error class: unknown class>>

Get channel features.

Link copied to clipboard
suspend fun getChannelItems(request: <Error class: unknown class>): Response<<Error class: unknown class>>
suspend fun getChannelItems(channelId: <Error class: unknown class>, folderId: <Error class: unknown class>? = null, userId: <Error class: unknown class>? = null, startIndex: Int? = null, limit: Int? = null, sortOrder: Collection<<Error class: unknown class>>? = emptyList(), filters: Collection<<Error class: unknown class>>? = emptyList(), sortBy: Collection<<Error class: unknown class>>? = emptyList(), fields: Collection<<Error class: unknown class>>? = emptyList()): Response<<Error class: unknown class>>

Get channel items.

Link copied to clipboard
suspend fun getChannels(request: <Error class: unknown class> = GetChannelsRequest()): Response<<Error class: unknown class>>
suspend fun getChannels(userId: <Error class: unknown class>? = null, startIndex: Int? = null, limit: Int? = null, supportsLatestItems: Boolean? = null, supportsMediaDeletion: Boolean? = null, isFavorite: Boolean? = null): Response<<Error class: unknown class>>

Gets available channels.

Link copied to clipboard
suspend fun getLatestChannelItems(request: <Error class: unknown class> = GetLatestChannelItemsRequest()): Response<<Error class: unknown class>>
suspend fun getLatestChannelItems(userId: <Error class: unknown class>? = null, startIndex: Int? = null, limit: Int? = null, filters: Collection<<Error class: unknown class>>? = emptyList(), fields: Collection<<Error class: unknown class>>? = emptyList(), channelIds: Collection<<Error class: unknown class>>? = emptyList()): Response<<Error class: unknown class>>

Gets latest channel items.