get All Voip Channels As Live Data
fun getAllVoipChannelsAsLiveData( context: Context, activeFirst: Boolean, activeChannelOrderedByLevel: Boolean): LiveData<List<STWVoipChannel>?>
Content copied to clipboard
Call this method to retrieve the list of all {@link STWVoipChannel} as LiveData.
By default, channels are ordered by name.
Return
{@link List} of {@link STWVoipChannel}
Parameters
context
The application context
active First
if true list will be ordered by active channel first
active Channel Ordered By Level
if true active channels will be ordered by channel level