Package com.rfideas.pcproxapisdk
Class Enumerate
- java.lang.Object
-
- com.rfideas.pcproxapisdk.Enumerate
-
public class Enumerate extends java.lang.Object
Singleton class which handles Connection of readers.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
GetDevCnt()
Returns the number of pcProx devices found on this machine from USBConnect()static Reader[]
USBConnect(android.content.Context context)
Returns an array with all connected USB readersstatic void
USBDisconnect()
Disconnects all the readers
-
-
-
Method Detail
-
USBConnect
public static Reader[] USBConnect(android.content.Context context) throws SDKException, java.lang.CloneNotSupportedException
Returns an array with all connected USB readers- Parameters:
context
- object of the activity- Returns:
- an array with handles of all connected usb readers or null if no reader is connected
- Throws:
SDKException
- if there is a failure in USB communication.java.lang.CloneNotSupportedException
- See Also:
USBDisconnect()
-
GetDevCnt
public static int GetDevCnt()
Returns the number of pcProx devices found on this machine from USBConnect()- Returns:
- Number of devices on bus: 0..127
-
USBDisconnect
public static void USBDisconnect()
Disconnects all the readers- See Also:
USBConnect(Context)
-
-