Module: HomeRows

Methods


<static> addHomeSection(content, sizeArray, sectionName)

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

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
sectionName string
Source:
Returns:
Type
boolean

<static> createContinueWatchingRow(content, sizeArray)

Create a row displaying items the user can continue watching

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> createFavoritesRow(content, sizeArray)

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

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> createLatestInRows(content, sizeArray)

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

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> createLibraryRow(content, sizeArray)

Create a row displaying the user's libraries

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> createLiveTVRow(content, sizeArray)

Create a row displaying the live tv now on section

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> createNextUpRow(content, sizeArray)

Create a row displaying next episodes up to watch

Parameters:
Name Type Description
content dynamic
sizeArray dynamic
Source:
Returns:
Type
void

<static> filterNodeArray(nodeArray, nodeKey, excludeArray)

Parameters:
Name Type Description
nodeArray object
nodeKey string
excludeArray object
Source:
Returns:
Type
object

<static> init()

Source:
Returns:
Type
void

<static> itemSelected()

Source:
Returns:
Type
void

<static> loadLibraries()

Source:
Returns:
Type
void

<static> onKeyEvent(key, press)

Parameters:
Name Type Description
key string
press boolean
Source:
Returns:
Type
boolean

<static> onLibrariesLoaded()

Source:
Returns:
Type
void

<static> removeHomeSection(sectionType)

Removes a home section from the home rows

Parameters:
Name Type Description
sectionType string
Source:
Returns:
Type
void

<static> updateContinueWatchingItems()

Source:
Returns:
Type
void

<static> updateFavoritesItems()

Source:
Returns:
Type
void

<static> updateHomeRows()

Update home row data

Source:
Returns:
Type
void

<static> updateLatestInRows()

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

Source:
Returns:
Type
void

<static> updateLatestItems(msg)

Parameters:
Name Type Description
msg dynamic
Source:
Returns:
Type
void

<static> updateNextUpItems()

Source:
Returns:
Type
void

<static> updateOnNowItems()

Source:
Returns:
Type
void

<static> updateSize()

Source:
Returns:
Type
void

<static> updateSizeArray(rowItemSize [, rowIndex] [, action])

Parameters:
Name Type Argument Default Description
rowItemSize dynamic
rowIndex dynamic <optional>
invalid
action dynamic <optional>
"insert"
Source:
Returns:
Type
void