Methods

(static) channelFilterSet() → {void}

Returns:
Type: 
void

(static) channelsearchTermSet() → {void}

Voice Search set

Returns:
Type: 
void

(static) focusProgramDetails(setFocused) → {void}

Move the TV Guide Grid down or up depending whether details are selected

Parameters:
NameTypeDescription
setFocuseddynamic
Returns:
Type: 
void

(static) init() → {void}

Returns:
Type: 
void

(static) loadProgramDetails(programId, channelIndex, programIndex) → {void}

Fetch full program details for a focused grid cell and swap the lightweight schedule item for the fully-loaded node. Render-thread promise — replaces the former LoadProgramDetailsTask, a pure-fetch Task consumed via createObject + observeField (Phase-3a collapse; canonical in docs/dev/promises.md). The transform here is a SINGLE item (transformBaseItem, not array processing), so it's render-thread-acceptable.

Parameters:
NameTypeDescription
programIdstring
channelIndexinteger
programIndexinteger
Returns:
Type: 
void

(static) onChannelsLoaded() → {void}

Channels loaded callback — handles both first and subsequent pages. First page: creates grid content, shows channels immediately. Subsequent pages: appends channels to existing grid. Each page queues its channel IDs for schedule loading.

Returns:
Type: 
void

(static) onDestroy() → {void}

onDestroy: Full teardown releasing all resources before component removal Called automatically via JRScreen.beforeViewClose when sgRouter permanently closes this view.

Returns:
Type: 
void

(static) onGridScrolled() → {void}

As user scrolls grid, check if more data requries to be loaded

Returns:
Type: 
void

(static) onKeyEvent(key, press) → {boolean}

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) onProgramFocused() → {void}

Returns:
Type: 
void

(static) onProgramSelected() → {void}

Returns:
Type: 
void

(static) onRecordChannelSelected() → {void}

Handle user selecting "Record Channel" from Program Details

Returns:
Type: 
void

(static) onRecordOperationDone() → {void}

Returns:
Type: 
void

(static) onRecordSeriesChannelSelected() → {void}

Handle user selecting "Record Series" from Program Details

Returns:
Type: 
void

(static) onScheduleLoaded() → {void}

When LoadScheduleTask completes (initial or more data) and we have a schedule to display

Returns:
Type: 
void

(static) onScreenShown() → {void}

Returns:
Type: 
void

(static) onWatchChannelSelected() → {void}

Handle user selecting "Watch Channel" from Program Details

Returns:
Type: 
void

(static) startLoading() → {void}

Called by BaseGridView after setting filter/searchTerm to avoid double-fire. Applies current filter and search state to the task before starting it. Loads channels in pages of m.channelPageSize for fast initial display.

Returns:
Type: 
void

(static) tryLoadNextScheduleBatch() → {void}

Starts the next queued schedule batch if LoadScheduleTask is free.

Returns:
Type: 
void