|
|||||||
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.Response
The final phase of a PTP transaction sends a command's response from the responder to the initiator. These include response codes, and are described in chapter 11 of the PTP specification.
Field Summary | |
static int |
AccessDenied
ResponseCode: |
static int |
CaptureAlreadyTerminated
ResponseCode: |
static int |
DeviceBusy
ResponseCode: |
static int |
DevicePropNotSupported
ResponseCode: |
static int |
GeneralError
ResponseCode: |
static int |
IncompleteTransfer
ResponseCode: |
static int |
InvalidCodeFormat
ResponseCode: |
static int |
InvalidDevicePropFormat
ResponseCode: |
static int |
InvalidDevicePropValue
ResponseCode: |
static int |
InvalidObjectFormatCode
ResponseCode: |
static int |
InvalidObjectHandle
ResponseCode: |
static int |
InvalidParameter
ResponseCode: |
static int |
InvalidParentObject
ResponseCode: |
static int |
InvalidStorageID
ResponseCode: |
static int |
InvalidTransactionID
ResponseCode: |
static int |
NoThumbnailPresent
ResponseCode: |
static int |
NoValidObjectInfo
ResponseCode: |
static int |
ObjectWriteProtected
ResponseCode: |
static int |
OK
ResponseCode: |
static int |
OperationNotSupported
ResponseCode: |
static int |
ParameterNotSupported
ResponseCode: |
static int |
PartialDeletion
ResponseCode: |
static int |
SelfTestFailed
ResponseCode: |
static int |
SessionAlreadyOpen
ResponseCode: |
static int |
SessionNotOpen
ResponseCode: |
static int |
SpecificationByFormatUnsupported
ResponseCode: |
static int |
SpecificationOfDestinationUnsupported
ResponseCode: |
static int |
StoreFull
ResponseCode: |
static int |
StoreNotAvailable
ResponseCode: |
static int |
StoreReadOnly
ResponseCode: |
static int |
TransactionCanceled
ResponseCode: |
static int |
Undefined
ResponseCode: |
static int |
UnknownVendorCode
ResponseCode: |
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 OK
public static final int GeneralError
public static final int SessionNotOpen
public static final int InvalidTransactionID
public static final int OperationNotSupported
public static final int ParameterNotSupported
public static final int IncompleteTransfer
public static final int InvalidStorageID
public static final int InvalidObjectHandle
public static final int DevicePropNotSupported
public static final int InvalidObjectFormatCode
public static final int StoreFull
public static final int ObjectWriteProtected
public static final int StoreReadOnly
public static final int AccessDenied
public static final int NoThumbnailPresent
public static final int SelfTestFailed
public static final int PartialDeletion
public static final int StoreNotAvailable
public static final int SpecificationByFormatUnsupported
public static final int NoValidObjectInfo
public static final int InvalidCodeFormat
public static final int UnknownVendorCode
public static final int CaptureAlreadyTerminated
public static final int DeviceBusy
public static final int InvalidParentObject
public static final int InvalidDevicePropFormat
public static final int InvalidDevicePropValue
public static final int InvalidParameter
public static final int SessionAlreadyOpen
public static final int TransactionCanceled
public static final int SpecificationOfDestinationUnsupported
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 |