|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--usb.jphoto.Buffer | +--usb.jphoto.Container | +--usb.jphoto.ParamVector | +--usb.jphoto.Event
Events are sent spontaneously from responders to initiators. Event codes, described in chapter 12 of the PTP specification, identify what happened. Some events have a parameter, and additional data (for vendor extensions) may be available using the class control request "Get Extended Event Data".
Field Summary | |
static int |
CancelTransaction
EventCode: |
static int |
CaptureComplete
EventCode: |
static int |
DeviceInfoChanged
EventCode: |
static int |
DevicePropChanged
EventCode: |
static int |
DeviceReset
EventCode: |
static int |
ObjectAdded
EventCode: |
static int |
ObjectInfoChanged
EventCode: |
static int |
ObjectRemoved
EventCode: |
static int |
RequestObjectTransfer
EventCode: |
static int |
StorageInfoChanged
EventCode: |
static int |
StoreAdded
EventCode: |
static int |
StoreFull
EventCode: |
static int |
StoreRemoved
EventCode: |
static int |
Undefined
EventCode: |
static int |
UnreportedStatus
EventCode: a status event was dropped (missed an interrupt) |
Method Summary | |
java.lang.String |
getCodeName(int code)
Subclasses override this to map PTP codes to their names; the results are always interned strings, so that they can be efficiently compared ("=", "!=") against constants. |
Methods inherited from class usb.jphoto.ParamVector |
getNumParams, getParam1, getParam2, getParam3 |
Methods inherited from class usb.jphoto.Container |
getBlockType, getBlockTypeName, getCode, getCodeString, getCodeString, getCodeType, getLength, getXID, toString |
Methods inherited from class usb.jphoto.Buffer |
getS16, getS32, getS64, getS8, getString, getU16, getU8, nextS16, nextS16Array, nextS32, nextS32Array, nextS64, nextS64Array, nextS8, nextS8Array, nextString, nextU16, nextU16Array, nextU8, nextU8Array, put16, put32, put64, put8, putString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int Undefined
public static final int CancelTransaction
public static final int ObjectAdded
public static final int ObjectRemoved
public static final int StoreAdded
public static final int StoreRemoved
public static final int DevicePropChanged
public static final int ObjectInfoChanged
public static final int DeviceInfoChanged
public static final int RequestObjectTransfer
public static final int StoreFull
public static final int DeviceReset
public static final int StorageInfoChanged
public static final int CaptureComplete
public static final int UnreportedStatus
Method Detail |
public java.lang.String getCodeName(int code)
Container
getCodeName
in class Container
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |