BLOBkit System Utils  1.6.0

BLOBkit Javascript Library > system > TVB.system
Search:
 
Filters

static Class TVB.system

TVBLOB's system utilities class

Methods

deleteElementById

void deleteElementById ( [id] )
Safely delete an element and all of his childrens
Parameters:
[id] <String> ID of the element to be removed; default: body
Returns: void

exitBrowser

void exitBrowser ( )
Exit the browser and go back to main menu
Returns: void

getBLOBkitVersion

String getBLOBkitVersion ( )
Returns current BLOBkit version
Returns: String
Current BLOBkit version

getFirmwareVersion

String getFirmwareVersion ( )
Returns current firmware version
Returns: String
Current firmware version, if any, otherwise NON_TVBLOB

getLanguageCode

String getLanguageCode ( )
Returns system language code
Returns: String
Current system language code, if any, otherwise false

getPlatformFingerprint

void getPlatformFingerprint ( )
Returns current platform fingerprint
Returns: void

getPlatformName

void getPlatformName ( )
Returns current platform name
Returns: void

getPlatformVersion

void getPlatformVersion ( )
Retirns current platform version
Returns: void

getProductName

String getProductName ( )
Returns current Product name
Returns: String
Current product name, if any, otherwise NON_TVBLOB

getProductVersion

String getProductVersion ( )
Returns current product version
Returns: String
Current product version, if any, otherwise NON_TVBLOB

getResourceURI

String getResourceURI ( relativeURI )
URI of a resource in the current theme or null if not present
Parameters:
relativeURI <String>
Returns: String
the complete URI, null if not found

getSMOJVersion

String getSMOJVersion ( )
Returns current SMOJ version
Returns: String
Current SMOJ version, if any, otherwise 0.0.0

getSMOSVersion

String getSMOSVersion ( )
Returns current SMOS version
Returns: String
Current SMOS version, if any, otherwise 0.0.0

getTvblobNumber

String getTvblobNumber ( )
Returns user's TVBLOB Number if the user is logged in. This function works only on trusted applications.
Returns: String
User's TVBLOB Number, or none

getUserID

String getUserID ( )
Returns a unique identification for the User, based on his TVBLOB Number and current application domain.
This functions requires that the user authorize the use in current application (a popup screen is displayed).
Returns: String
A unique identification string; if a user is not logged in TVBLOB's backends, returns null

getVideoSystem

String getVideoSystem ( )
Returns current video system code (PAL/NTSC)
Returns: String
Current video system code, if any, otherwise NON_TV

goBackOrExitBrowser

void goBackOrExitBrowser ( )
Returns to the previous page; if it is the first page of history, exit the browser and go back to main menu
Returns: void

refresh

void refresh ( )
Refresh current browser page
Returns: void

sleep

void sleep ( ms )
Sleeps javascript execution for given milliseconds
Parameters:
ms <Integer> Milliseconds to sleep
Returns: void

sleepcb

void sleepcb ( ms , cb )
Sleeps for a given number of millisecons, than executes a callback function
Parameters:
ms <Integer> Milliseconds to sleep
cb <Function> Function
Returns: void


Copyright © 2010 TVBLOB S.r.l. All rights reserved. The BLOBkit library is a resource ofBLOBforge.