Settings used by Treehopper classes.
More...
Settings used by Treehopper classes.
◆ getBootloaderPid()
| int io.treehopper.Settings.getBootloaderPid |
( |
| ) |
|
Get the bootloader PID.
- Returns
- the bootloader PID
◆ getBootloaderVid()
| int io.treehopper.Settings.getBootloaderVid |
( |
| ) |
|
Get the bootloader VID.
- Returns
- the VID of the bootloader
◆ getPid()
| int io.treehopper.Settings.getPid |
( |
| ) |
|
Get the PID to look for.
- Returns
- the PID
◆ getVid()
| int io.treehopper.Settings.getVid |
( |
| ) |
|
Get the VID to look for.
- Returns
- the vid
◆ setBootloaderPid()
| void io.treehopper.Settings.setBootloaderPid |
( |
int |
bootloaderPid | ) |
|
Set the bootloader PID.
- Parameters
-
| bootloaderPid | the bootloader PID |
◆ setBootloaderVid()
| void io.treehopper.Settings.setBootloaderVid |
( |
int |
bootloaderVid | ) |
|
Set the bootloader VID.
- Parameters
-
| bootloaderVid | the VID of the bootloader |
◆ setPid()
| void io.treehopper.Settings.setPid |
( |
int |
pid | ) |
|
Set the PID to look for.
- Parameters
-
◆ setThrowExceptions()
| void io.treehopper.Settings.setThrowExceptions |
( |
boolean |
throwExceptions | ) |
|
Sets whether Treehopper should throw exceptions or silently fail.
- Parameters
-
| throwExceptions | whether to throw exceptions |
◆ setVid()
| void io.treehopper.Settings.setVid |
( |
int |
vid | ) |
|
Set the VID to look for.
- Parameters
-
◆ shouldThrowExceptions()
| boolean io.treehopper.Settings.shouldThrowExceptions |
( |
| ) |
|
Gets whether Treehopper should throw exceptions or silently fail.
- Returns
- whether to throw exceptions
The documentation for this class was generated from the following file:
- F:/Git/treehopper-sdk/Java/api/treehopper/src/main/java/io/treehopper/Settings.java