LiveTVPresenter. LiveTVPresenter

new LiveTVPresenter() → {LiveTVPresenter}

Returns:
Type: 
LiveTVPresenter

Extends

  • GridPresenterBase

Methods

configureLoadTask(task, _parentItem, _viewMode) → {void}

Parameters:
NameTypeDescription
taskobject
_parentItemobject
_viewModestring
Returns:
Type: 
void

getBackdropMode() → {string}

LiveTV uses fullscreen backdrop

Returns:
Type: 
string

getGridConfig(_viewMode) → {object}

Channel logos need scaleToFit, not scaleToZoom

Parameters:
NameTypeDescription
_viewModestring
Returns:
Type: 
object

getOptions(_parentItem) → {object}

Parameters:
NameTypeDescription
_parentItemobject
Returns:
Type: 
object

isTVGuideView() → {boolean}

Check if current view is TV Guide

Returns:
Type: 
boolean

onDestroy() → {void}

Returns:
Type: 
void

onInit(view) → {void}

Parameters:
NameTypeDescription
viewobject
Returns:
Type: 
void

shouldShowPresentationInfo(_viewMode) → {boolean}

No presentation info for LiveTV

Parameters:
NameTypeDescription
_viewModestring
Returns:
Type: 
boolean