Class HidManager
java.lang.Object
org.hid4java.HidManager
Factory to provide the following to API consumers:
- Access to configured HID services
- Since:
- 0.0.1
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HidServices
Simple service provider providing generally safe defaults.static HidServices
getHidServices
(HidServicesSpecification hidServicesSpecification) Fully configurable service provider
-
Field Details
-
servicesLock
-
hidServices
-
-
Constructor Details
-
HidManager
public HidManager()
-
-
Method Details
-
getHidServices
Simple service provider providing generally safe defaults. If you find you are experiencing problems, particularly with constrained devices, consider exploring the
HidServicesSpecification
options.- Returns:
- A single instance of the HID services using the default specification
- Throws:
HidException
-
getHidServices
public static HidServices getHidServices(HidServicesSpecification hidServicesSpecification) throws HidException Fully configurable service provider
- Parameters:
hidServicesSpecification
- Provides various parameters for configuring HID services- Returns:
- A single instance of the HID services using specified parameters
- Throws:
HidException
- Since:
- 0.5.0
-