Members
app :Model
Type:
- Model
(inner) debug :boolean
Enable logging and debugging flag set by debug module at runtime.
Type:
- boolean
(inner, constant) EVENT_CONTENT_ERROR :number
Error when opening the content: content not found on the server or connection with the server was rejected
Type:
- number
(inner, constant) EVENT_DUAL_MONO_DETECT :number
Detected DualMono AC-3 sound
Type:
- number
(inner, constant) EVENT_DVB_ANTENNA_OFF :number
DVB antenna power off
Type:
- number
(inner, constant) EVENT_DVB_CHANELL_EPG_UPDATE :number
DVB Channel EPG update
Type:
- number
(inner, constant) EVENT_DVB_FOUND :number
Scanning DVB Channel found
Type:
- number
(inner, constant) EVENT_DVB_SCANING :number
Scanning DVB Channel in progress
Type:
- number
(inner, constant) EVENT_END_OF_FILE :number
The player reached the end of the media content or detected a discontinuity of the stream
Type:
- number
(inner, constant) EVENT_GET_MEDIA_INFO :number
Information on audio and video tracks of the media content is received. It's now possible to call gSTB.GetAudioPIDs etc.
Type:
- number
(inner, constant) EVENT_HDMI_CONNECT :number
HDMI device has been connected
Type:
- number
(inner, constant) EVENT_HDMI_DISCONNECT :number
HDMI device has been disconnected
Type:
- number
(inner, constant) EVENT_INFO_GET :number
The decoder has received info about the content and started to play. It's now possible to call gSTB.GetVideoInfo
Type:
- number
(inner, constant) EVENT_PLAYBACK_BEGIN :number
Video and/or audio playback has begun
Type:
- number
(inner, constant) EVENT_RECORD_FINISH_ERROR :number
Recording task has been finished with error. See Appendix 13. JavaScript API for PVR subsystem
Type:
- number
(inner, constant) EVENT_RECORD_FINISH_SUCCESSFULL :number
Recording task has been finished successfully. See Appendix 13. JavaScript API for PVR subsystem
Type:
- number
(inner, constant) EVENT_SUBTITLE_FIND :number
Found new teletext subtitles in stream
Type:
- number
(inner, constant) EVENT_SUBTITLE_LOAD_ERROR :number
Error occurred while loading external subtitles
Type:
- number
(inner) host :boolean
True if executed on the STB device, set by debug module at runtime.
Type:
- boolean
(inner) screen :Object
Screen geometry and margins.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
height |
number | Total screen height |
width |
number | Total screen width |
availTop |
number | top safe zone margin |
availRight |
number | right safe zone margin |
availBottom |
number | bottom safe zone margin |
availLeft |
number | left safe zone margin |
availHeight |
number | safe zone height |
availWidth |
number | safe zone width |
(inner) time :Object
Timestamps data.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
init |
number | application initialization time (right now) |
load |
number | document onload event |
done |
number | onload event sent and processed |
Events
browser:progress
Event on document loading progress changes
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
progress |
number | of document loading |
- Source:
media
Device media events
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
code |
number | of event |
- Source:
message
Event on messages from a window
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
broadcast |
boolean | message flag |
message |
string | received from window |
data |
object | received from window |
- Source:
mount
Event on device mount state
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
state |
boolean | of mount device |
- Source:
internet:state
Event on internet connection state
Type:
- object
Properties:
Name | Type | Description |
---|---|---|
state |
boolean | of internet connection |
- Source:
media:available
Event on callback on internet browser link clicked
- Source:
window:focus
Event on browser web window activation event
- Source: