Samsung Electronics, and its partners, use cookies and similar technologies Since 2016 models, you can batch register keys using the registerKeyBatch() method, which can improve application launch time: () To register the key, add the registerKey() method to the onload event, with the key name as the parameter: ('MediaPlayPause') The method returns the key name and ke圜ode value for each supported key. To retrieve information about the remote control keys that the TV supports, use the getSupportedKeys() method: var value = () To detect and handle remote control key clicks: To use the TVInputDevice API, the application has to request permission by adding the following privilege to the 'config.xml' file: Note The 'MediaTrackPrevious' and 'MediaTrackNext' keys are not supported on the emulator. Some remote control keys have different functions based on whether they are clicked or long-pressed: The user can access additional virtual keys on the TV screen by clicking the '123' key. It has only the essential keys and some special function keys. The Samsung Smart Remote is only supported on Samsung UHD TVs. The basic remote control is a traditional remote control that has, for example, number keys and colored function keys. Samsung TVs can have 2 types of remote controls:
The remote control is the most common way for users to interact with the TV.
This topic describes how your application can receive input from a remote control.