search Channels As Flow
fun searchChannelsAsFlow( context: Context, activeFirst: Boolean, activeChannelOrderedByLevel: Boolean, search: String?): Flow<List<STWVoipChannel>?>
Content copied to clipboard
This method will first emit the channels from the local database and then request the filtered company contacts from the remote server, it will then emit the result as soon as it is received merged with the local result.
Return
Flow of list of 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
search
keyword used to filter the channels based on multiple criterias