|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUSBPowerDaemon
Field Summary | |
---|---|
static int |
STATE_AWAITING_ENUM
Power detected, waiting to see if enumeration occurs |
static int |
STATE_BATTERY
Power detected but enumeration did not occur |
static int |
STATE_ENUMERATED
Enumerated |
static int |
STATE_UNCONNECTED
No power applied to USB socket |
Method Summary | |
---|---|
int |
getCurrentState()
Get the current state of the USB connection |
boolean |
isUsbEnumerated()
|
boolean |
isUsbInUse()
|
boolean |
isUsbPowered()
|
Field Detail |
---|
static final int STATE_UNCONNECTED
static final int STATE_AWAITING_ENUM
static final int STATE_ENUMERATED
static final int STATE_BATTERY
Method Detail |
---|
int getCurrentState()
boolean isUsbPowered()
boolean isUsbEnumerated()
boolean isUsbInUse()
|
SunSPOT API V3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |