getPagedChannels

fun getPagedChannels(    context: Context,     activeFirst: Boolean,     activeChannelOrderedByLevel: Boolean,     searchContent: String): PagingSource<Int, STWVoipChannel>

Call this method to load page of STWVoipChannel .
By default, channels are ordered by name.

Return

list of channels as PagingSource

Parameters

context

The application context

activeFirst

if true list will be ordered by active channel first

activeChannelOrderedByLevel

if true active channels will be ordered by channel level