Methods
(static) channelUpdated() → {void}
Returns:
- Type:
- void
(static) focusChanged() → {void}
Show view channel button when item has Focus
Returns:
- Type:
- void
(static) getDurationStringFromSeconds(seconds) → {string}
Get program duration string (e.g. 1h 20m)
Parameters:
Name | Type | Description |
---|---|---|
seconds | dynamic |
Returns:
- Type:
- string
(static) getRelativeDayName(date) → {string}
Get relative date name for a date (yesterday, today, tomorrow, or otherwise weekday name )
Parameters:
Name | Type | Description |
---|---|---|
date | dynamic |
Returns:
- Type:
- string
(static) init() → {void}
Returns:
- Type:
- void
(static) onAnimationComplete() → {void}
Returns:
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
Parameters:
Name | Type | Description |
---|---|---|
key | string | |
press | boolean |
Returns:
- Type:
- boolean
(static) programUpdated() → {void}
Returns:
- Type:
- void
(static) setupLabels() → {void}
Set up Live and Repeat label sizes
Returns:
- Type:
- void
(static) updateLabels(recordTextopt, recordSeriesTextopt) → {void}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
recordText | dynamic | <optional> | "Record" | |
recordSeriesText | dynamic | <optional> | "Record Series" |
Returns:
- Type:
- void