Module: ProgramDetails

Methods


<static> channelUpdated()

Source:
Returns:
Type
void

<static> focusChanged()

Show view channel button when item has Focus

Source:
Returns:
Type
void

<static> getDurationStringFromSeconds(seconds)

Get program duration string (e.g. 1h 20m)

Parameters:
Name Type Description
seconds dynamic
Source:
Returns:
Type
string

<static> getRelativeDayName(date)

Get relative date name for a date (yesterday, today, tomorrow, or otherwise weekday name )

Parameters:
Name Type Description
date dynamic
Source:
Returns:
Type
string

<static> init()

Source:
Returns:
Type
void

<static> onAnimationComplete()

Source:
Returns:
Type
void

<static> onKeyEvent(key, press)

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

<static> programUpdated()

Source:
Returns:
Type
void

<static> setupLabels()

Set up Live and Repeat label sizes

Source:
Returns:
Type
void

<static> updateLabels( [recordText] [, recordSeriesText])

Parameters:
Name Type Argument Default Description
recordText dynamic <optional>
"Record"
recordSeriesText dynamic <optional>
"Record Series"
Source:
Returns:
Type
void