getAllVoipChannels

open fun getAllVoipChannels(    @NonNull context: Context,     activeFirst: Boolean,     activeChannelOrderedByLevel: Boolean): List<VoipChannelItem>

Call this method to retrieve the list of all VoipChannelItem. By default, channels are ordered by name.

Return

List of VoipChannelItem

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