Methods

(static) addHomeSection(content, sizeArray, sectionName) → {boolean}

Adds a new home section to the home rows. Returns a boolean indicating whether the section was handled.

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
sectionNamestring
Returns:
Type: 
boolean

(static) createContinueWatchingRow(content, sizeArray) → {void}

Create a row displaying items the user can continue watching

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) createFavoritesRow(content, sizeArray) → {void}

Create a row displaying items from the user's favorites list

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) createLatestInRows(content, sizeArray) → {void}

Create a row displaying latest items in each of the user's libraries

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) createLibraryRow(content, sizeArray) → {void}

Create a row displaying the user's libraries

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) createLiveTVRow(content, sizeArray) → {void}

Create a row displaying the live tv now on section

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) createNextUpRow(content, sizeArray) → {void}

Create a row displaying next episodes up to watch

Parameters:
NameTypeDescription
contentdynamic
sizeArraydynamic
Returns:
Type: 
void

(static) filterNodeArray(nodeArray, nodeKey, excludeArray) → {object}

Parameters:
NameTypeDescription
nodeArrayobject
nodeKeystring
excludeArrayobject
Returns:
Type: 
object

(static) init() → {void}

Returns:
Type: 
void

(static) itemSelected() → {void}

Returns:
Type: 
void

(static) loadLibraries() → {void}

Returns:
Type: 
void

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

Parameters:
NameTypeDescription
keystring
pressboolean
Returns:
Type: 
boolean

(static) onLibrariesLoaded() → {void}

Returns:
Type: 
void

(static) removeHomeSection(sectionType) → {void}

Removes a home section from the home rows

Parameters:
NameTypeDescription
sectionTypestring
Returns:
Type: 
void

(static) updateContinueWatchingItems() → {void}

Returns:
Type: 
void

(static) updateFavoritesItems() → {void}

Returns:
Type: 
void

(static) updateHomeRows() → {void}

Update home row data

Returns:
Type: 
void

(static) updateLatestInRows() → {void}

Iterate over user's libraries and update data for each Latest In section

Returns:
Type: 
void

(static) updateLatestItems(msg) → {void}

Parameters:
NameTypeDescription
msgdynamic
Returns:
Type: 
void

(static) updateNextUpItems() → {void}

Returns:
Type: 
void

(static) updateOnNowItems() → {void}

Returns:
Type: 
void

(static) updateSize() → {void}

Returns:
Type: 
void

(static) updateSizeArray(rowItemSize, rowIndexopt, actionopt) → {void}

Parameters:
NameTypeAttributesDefaultDescription
rowItemSizedynamic
rowIndexdynamic<optional>
invalid
actiondynamic<optional>
"insert"
Returns:
Type: 
void