Methods

(static) filterByVoiceSearch(channels, searchTerm, timer) → {object}

Filters channels by voice search term using two strategies:

  1. Client-side match on channel name and channel number
  2. Server-side /LiveTv/Programs search to find channels airing matching content Results are merged and deduplicated.
Parameters:
NameTypeDescription
channelsobject

Array of transformed channel nodes

searchTermstring

Trimmed, non-empty voice search text

timerobject

Running roTimespan for elapsed logging

Returns:

Filtered array of channel nodes

Type: 
object

(static) init() → {void}

Returns:
Type: 
void

(static) loadChannels() → {void}

Orchestrator Task: submits to ApiTask pool and waits off the render thread.

Returns:
Type: 
void