java.lang.Object | ||
↳ | com.datalogic.device.configuration.SerializableBlob | |
↳ | com.datalogic.device.configuration.UsbHostWhitelisting |
UsbHostWhitelisting
implements the BlobProperty that allows to manage USB host whitelisting.
The class is managed by the ConfigurationManager Blob Properties USB_HOST_WHITELISTING
and USB_PREDEFINED_HOST_WHITELISTING
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor
| |||||||||||
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add a list of devices to whitelist.
| |||||||||||
Add a device to whitelist.
| |||||||||||
Clear whitelist.
| |||||||||||
Get a device from whitelist by vid and pid.
| |||||||||||
Retrieve the whole whitelist content.
| |||||||||||
Remove a devices from whitelist.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.SerializableBlob
| |||||||||||
From class
java.lang.Object
|
Constructor
devices | List
|
---|
Add a list of devices to whitelist.
usbWhitelistedDevices | list of the devices to whitelist |
---|
Add a device to whitelist.
usbWhitelistedDevice | device to whitelist |
---|
Clear whitelist.
This will not effect in case of USB_PREDEFINED_HOST_WHITELISTING
.
Get a device from whitelist by vid and pid.
vid | String |
---|---|
pid | String |
UsbWhitelistedDevice
Retrieve the whole whitelist content.
Remove a devices from whitelist. Devices is removed checking only vid and pid.
usbWhitelistedDevice | device to whitelist. |
---|