public class HRcCapabilities extends HKeyCapabilities
This class is not intended to be constructed by applications.
| Parameter | Description | Default value | Set method | Get method |
|---|---|---|---|---|
| None. | ||||
| Description | Default value | Set method | Get method |
|---|---|---|---|
| None. | |||
| Modifier | Constructor and Description |
|---|---|
protected |
HRcCapabilities()
An interoperable application shall not subclass the
HRcCapabilities class.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getInputDeviceSupported()
Determine if a physical remote control exists in the system.
|
static HEventRepresentation |
getRepresentation(int aCode)
Get the
HEventRepresentation object for a
specified key event keyCode. |
static boolean |
isSupported(int keycode)
Queries whether the remote control can directly generate an event
of the given type.
|
protected HRcCapabilities()
Creates an HRcCapabilities object. See the class description for details
of constructor parameters and default values.
This method is protected to allow the platform to override it in a different package scope.
public static HEventRepresentation getRepresentation(int aCode)
HEventRepresentation object for a
specified key event keyCode.aCode - the key event keyCode for which the
HEventRepresentation should be returned.HEventRepresentation
object for the specified key event keyCode, or
null if there is no valid representation available.public static boolean getInputDeviceSupported()
HKeyCapabilities.getInputDeviceSupported()public static boolean isSupported(int keycode)
keycode - the keycode to query e.g. VK_SPACEHKeyCapabilities.isSupported(int)Copyright © 2012 code4tv.com. All Rights Reserved.