|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.livescribe.event.Event
com.livescribe.event.PenletEvent
com.livescribe.event.SystemEvent
com.livescribe.event.HardwareEvent
public class HardwareEvent
The HardwareEvent class extends the SystemEvent class to
encapsulate hardware specific events.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.livescribe.event.SystemEvent |
|---|
SystemEvent.Config |
| Field Summary | |
|---|---|
static HardwareEvent |
AbortQuickRecord
HardwareEvent to indicate that quick record has been stopped |
static int |
BASE
|
static HardwareEvent |
BatteryDischarged
HardwareEvent to indicate that pen battery is discharged |
static HardwareEvent |
BatteryFull
HardwareEvent to indicate that pen battery is full |
static HardwareEvent |
BatteryLow
HardwareEvent to indicate that pen battery is low |
static HardwareEvent |
BatteryNormal
HardwareEvent to indicate that pen battery is normal |
static short |
HE_BATTERY_DISCHARGED
ID to indicate that the pen battery is discharged |
static short |
HE_BATTERY_FULL
ID to indicate that the battery level is full |
static short |
HE_BATTERY_LOW
ID to indicate that the battery level is low |
static short |
HE_BATTERY_NORMAL
ID to indicate that the battery level is normal |
static short |
HE_CHARGING
ID to indicate that the pen is currently charging |
static short |
HE_CHARGING_COMPLETE
ID to indicate that the pen charging is complete |
static short |
HE_MEMORY_FULL
ID to indicate that the pen memory is full |
static short |
HE_MEMORY_LOW
ID to indicate that pen memory is low |
static short |
HE_MEMORY_NORMAL
ID to indicate that pen memory is normal |
static short |
HE_MIC_PLUGGED_IN
ID to indicate that the mic is plugged in |
static short |
HE_MIC_PLUGGED_OUT
ID to indicate that the mic is plugged out |
static short |
HE_NOT_CHARGING
ID to indicate that the pen is not currently charging |
static short |
HE_PHONES_PLUGGED_IN
ID to indicate that the headphones are plugged in |
static short |
HE_PHONES_UNPLUGGED
ID to indicate that the headphones are plugged out |
static int |
HE_QUICKRECORD
ID to indicate that quick record has started |
static int |
HE_QUICKRECORD_ABORT
ID to indicate that quick record has aborted |
static short |
HE_USB_CONNECTED
ID to indicate that the pen is connected via USB |
static short |
HE_USB_DISCONNECTED
ID to indicate that the pen is not connected via USB |
static HardwareEvent |
MemoryFull
HardwareEvent to indicate that pen memory is full |
static HardwareEvent |
MemoryLow
HardwareEvent to indicate that pen memory is low |
static HardwareEvent |
MemoryNormal
HardwareEvent to indicate that pen memory is normal |
| Fields inherited from class com.livescribe.event.PenletEvent |
|---|
size, time |
| Fields inherited from class com.livescribe.event.Event |
|---|
consumed, eventId |
| Method Summary | |
|---|---|
String |
toString()
Return a String representation of the HardwareEvent |
| Methods inherited from class com.livescribe.event.PenletEvent |
|---|
getTime, toDate |
| Methods inherited from class com.livescribe.event.Event |
|---|
consume, getId, isConsumed |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int BASE
public static final int HE_QUICKRECORD
public static final int HE_QUICKRECORD_ABORT
public static final short HE_BATTERY_LOW
public static final short HE_BATTERY_NORMAL
public static final short HE_BATTERY_FULL
public static final short HE_MEMORY_LOW
public static final short HE_MEMORY_NORMAL
public static final short HE_MIC_PLUGGED_IN
public static final short HE_MIC_PLUGGED_OUT
public static final short HE_PHONES_PLUGGED_IN
public static final short HE_PHONES_UNPLUGGED
public static final short HE_NOT_CHARGING
public static final short HE_CHARGING
public static final short HE_CHARGING_COMPLETE
public static final short HE_USB_CONNECTED
public static final short HE_USB_DISCONNECTED
public static final short HE_BATTERY_DISCHARGED
public static final short HE_MEMORY_FULL
public static final HardwareEvent BatteryLow
public static final HardwareEvent BatteryNormal
public static final HardwareEvent BatteryFull
public static final HardwareEvent MemoryLow
public static final HardwareEvent MemoryNormal
public static final HardwareEvent MemoryFull
public static final HardwareEvent BatteryDischarged
public static final HardwareEvent AbortQuickRecord
| Method Detail |
|---|
public String toString()
toString in class SystemEvent
|
PenProfile 2.x | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||