@Beta public class DeviceKeyEvent extends AbstractEvent<DeviceKeyEvent.Type,DeviceKey>
| Modifier and Type | Class and Description |
|---|---|
static class |
DeviceKeyEvent.Type
Type of device key events.
|
| Constructor and Description |
|---|
DeviceKeyEvent(DeviceKeyEvent.Type type,
DeviceKey deviceKey)
Creates an event of a given type, and for the specified device key.
|
DeviceKeyEvent(DeviceKeyEvent.Type type,
DeviceKey deviceKey,
long time)
Creates an event of a given type, for the specified device key, and
the current time.
|
subject, time, toString, typepublic DeviceKeyEvent(DeviceKeyEvent.Type type, DeviceKey deviceKey)
type - device key event typedeviceKey - event device key subjectpublic DeviceKeyEvent(DeviceKeyEvent.Type type, DeviceKey deviceKey, long time)
type - device key event typedeviceKey - event device key subjecttime - occurrence time