to top
Datalogic APIs
public class

UsbWhitelistedDevice

extends Object
java.lang.Object
   ↳ com.datalogic.device.configuration.UsbWhitelistedDevice

Class Overview

Class UsbWhitelistedDevice defines an USB whitelisted device.

Summary

Public Constructors
UsbWhitelistedDevice(int vid, int pid, String name, String description)
Constructor
UsbWhitelistedDevice(String vid, String pid, String name, String description)
Constructor
Public Methods
String getDescription()
Retrieves USB device description
String getName()
Retrieves USB device name
WhitelistingPersistence getPersistence()
Retrieves USB device description
int getPid()
Retrieves USB device pid number in decimal format
String getPidHex()
Retrieves USB device pid number in hexadecimal format
int getVid()
Retrieves the vid number in decimal format
String getVidHex()
Retrieves the vid number in hexadecimal format
void setDescription(String description)
Set USB device description
void setName(String name)
Set USB device name
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UsbWhitelistedDevice (int vid, int pid, String name, String description)

Added in revision 37

Constructor

Parameters
vid int indicating USB device vid number in decimal format
pid int indicating USB device pid number in decimal format
name String indicating USB device name
description String indicating USB device description

public UsbWhitelistedDevice (String vid, String pid, String name, String description)

Added in revision 37

Constructor

Parameters
vid String indicating USB device vid number in hexadecimal format
pid String indicating USB device pid number in hexadecimal format
name String indicating USB device name
description String indicating USB device description

Public Methods

public String getDescription ()

Added in revision 37

Retrieves USB device description

Returns
  • String

public String getName ()

Added in revision 37

Retrieves USB device name

Returns
  • String

public WhitelistingPersistence getPersistence ()

Added in revision 37

Retrieves USB device description

Returns
  • WhitelistingPersistence

public int getPid ()

Added in revision 37

Retrieves USB device pid number in decimal format

Returns
  • int

public String getPidHex ()

Added in revision 37

Retrieves USB device pid number in hexadecimal format

Returns
  • String

public int getVid ()

Added in revision 37

Retrieves the vid number in decimal format

Returns
  • int

public String getVidHex ()

Added in revision 37

Retrieves the vid number in hexadecimal format

Returns
  • String

public void setDescription (String description)

Added in revision 37

Set USB device description

Parameters
description String indicating USB device description

public void setName (String name)

Added in revision 37

Set USB device name

Parameters
name String indicating USB device name