Remote Manager  1.6.0

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

Class TVB.remote

TVBLOB's remote control class; initialize the Remote Control

Constructor

TVB.remote ( )

Properties

btns - final object

Contains the list of all the buttons that belongs to all areas

btns_color - final object

Contains the list of all the buttons that belongs to the COLOR area

btns_letters - final object

Contains the list of all the buttons that belongs to the LETTERS area

btns_more - final object

Contains the list of all the buttons that belongs to the MORE area

btns_nav - final object

Contains the list of all the buttons that belongs to the NAV area

btns_vcr - final object

Contains the list of all the buttons that belongs to the VCR area

Methods

destroy

Boolean destroy ( )
Destroys the remote control and release all the buttons to the default behaviour
Returns: Boolean

disableBack

void disableBack ( )
Disable the use of the back button.
Returns: void

disableGreenRefresh

void disableGreenRefresh ( )
Disable the use of the green button to refresh current page.
Returns: void

disableLeftRight

void disableLeftRight ( )
Disable the use of the left / right buttons in the current page.
Returns: void

disableLetters

void disableLetters ( )
Disable the use of letter keys in the current page.
Returns: void

disableNav

void disableNav ( )
Disable the use of the nav buttons in the current page.
Returns: void

disableOk

void disableOk ( )
Disable the use of the Ok buttons in the current page.
Returns: void

disableUpDown

void disableUpDown ( )
Disable the use of the up / down buttons in the current page.
Returns: void

disableVcr

void disableVcr ( )
Disable the use of vcr keys in the current page.
Returns: void

enableBack

void enableBack ( )
Enables the use of the back button.
Returns: void

enableGreenRefresh

void enableGreenRefresh ( )
Enables the use of the green button to refresh current page.
Returns: void

enableLeftRight

void enableLeftRight ( )
Enable the use of the left / right buttons in the current page.
Returns: void

enableLetters

void enableLetters ( )
Enable the use of letter keys in the current page.
Returns: void

enableNav

void enableNav ( )
Enable the use of the nav buttons in the current page.
Returns: void

enableOk

void enableOk ( )
Enable the use of the OK buttons in the current page.
Returns: void

enableUpDown

void enableUpDown ( )
Enable the use of the up / down buttons in the current page.
Returns: void

enableVcr

void enableVcr ( )
Enable the use of vcr keys in the current page.
Returns: void

getBackStatus

Boolean getBackStatus ( )
Returns true if the back button works platform-like, false otherwise.
Returns: Boolean

getGreenRefreshStatus

Boolean getGreenRefreshStatus ( )
Returns true if the page can be refreshed automatically by pressing the green button on the remote control
Returns: Boolean
true: green button automatically refresh page, false: doesn't

getLastButtonPressed

String getLastButtonPressed ( )
Returns the name of the last button that has been pushed on the remote control.
Returns: String
The name of the button

keyboard

void keyboard ( keyunicode )
Handles keyboard buttons
Parameters:
keyunicode <Integer> The unicode of a keyboard button
Returns: void


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