Methods
(static) filterByVoiceSearch(channels, searchTerm, timer) → {object}
Filters channels by voice search term using two strategies:
- Client-side match on channel name and channel number
- Server-side /LiveTv/Programs search to find channels airing matching content Results are merged and deduplicated.
Parameters:
| Name | Type | Description |
|---|---|---|
channels | object | Array of transformed channel nodes |
searchTerm | string | Trimmed, non-empty voice search text |
timer | object | 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