public final class DeviceInfo
extends java.lang.Object
Constructor and Description |
---|
DeviceInfo(UINT16 standardVersion,
UINT32 vendorExtensionID,
UINT16 vendorExtensionVersion,
java.lang.String vendorExtensionDesc,
UINT16 functionalMode,
java.util.List<UINT16> operationsSupported,
java.util.List<UINT16> eventsSupported,
java.util.List<UINT16> devicePropertiesSupported,
java.util.List<UINT16> captureFormats,
java.util.List<UINT16> imageFormats,
java.lang.String manufacturer,
java.lang.String model,
java.lang.String deviceVersion,
java.lang.String serialNumber) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.util.List<UINT16> |
getCaptureFormats() |
java.util.List<UINT16> |
getDevicePropertiesSupported() |
java.lang.String |
getDeviceVersion() |
java.util.List<UINT16> |
getEventsSupported() |
UINT16 |
getFunctionalMode() |
java.util.List<UINT16> |
getImageFormats() |
java.lang.String |
getManufacturer() |
java.lang.String |
getModel() |
java.util.List<UINT16> |
getOperationsSupported() |
java.lang.String |
getSerialNumber() |
UINT16 |
getStandardVersion() |
java.lang.String |
getVendorExtensionDesc() |
UINT32 |
getVendorExtensionID() |
UINT16 |
getVendorExtensionVersion() |
int |
hashCode() |
static DeviceInfo |
read(java.io.InputStream is)
Construct DeviceInfo from InputStream.
|
static DeviceInfo |
read(PtpInputStream pis)
Construct DeviceInfo from PtpInputStream.
|
java.lang.String |
toString() |
public DeviceInfo(UINT16 standardVersion, UINT32 vendorExtensionID, UINT16 vendorExtensionVersion, java.lang.String vendorExtensionDesc, UINT16 functionalMode, java.util.List<UINT16> operationsSupported, java.util.List<UINT16> eventsSupported, java.util.List<UINT16> devicePropertiesSupported, java.util.List<UINT16> captureFormats, java.util.List<UINT16> imageFormats, java.lang.String manufacturer, java.lang.String model, java.lang.String deviceVersion, java.lang.String serialNumber)
public static DeviceInfo read(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public static DeviceInfo read(PtpInputStream pis) throws java.io.IOException
java.io.IOException
public UINT16 getStandardVersion()
public UINT32 getVendorExtensionID()
public UINT16 getVendorExtensionVersion()
public java.lang.String getVendorExtensionDesc()
public UINT16 getFunctionalMode()
public java.util.List<UINT16> getOperationsSupported()
public java.util.List<UINT16> getEventsSupported()
public java.util.List<UINT16> getDevicePropertiesSupported()
public java.util.List<UINT16> getCaptureFormats()
public java.util.List<UINT16> getImageFormats()
public java.lang.String getManufacturer()
public java.lang.String getModel()
public java.lang.String getDeviceVersion()
public java.lang.String getSerialNumber()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object