public final class CompoundDeviceLibrary extends Object implements DeviceLibrary
| Constructor and Description |
|---|
CompoundDeviceLibrary(DeviceLibrary... sources) |
| Modifier and Type | Method and Description |
|---|---|
DeviceDefinition |
getDeviceDefinition(int manufacturedID,
int productId)
get the device definition based on the supplied manufacturer ID and product ID.
|
boolean |
hasDeviceDefinition(int manufacturedID,
int productId)
Checks if a device definition for the supplied manufacturer ID and product ID is available.
|
public CompoundDeviceLibrary(DeviceLibrary... sources)
public boolean hasDeviceDefinition(int manufacturedID,
int productId)
throws NetworkException
DeviceLibraryhasDeviceDefinition in interface DeviceLibrarymanufacturedID - Manufacturer ID for device.productId - Product ID for device.NetworkException - If there is a problem loading a device definition.public DeviceDefinition getDeviceDefinition(int manufacturedID, int productId) throws NetworkException
DeviceLibrarygetDeviceDefinition in interface DeviceLibrarymanufacturedID - Manufacturer ID for device.productId - Product ID for device.NetworkException - If there is a problem loading a device definition.Copyright © 2015. All rights reserved.