NetworkSearchOption
Network search option.
Overview
You use this object with PrinterSearcher to control search function.
Instance methods
NetworkSearchOption
Initialize this class with searchDuration.
Declaration
public NetworkSearchOption(double searchDurationSecond, boolean isTethering)
Parameters
| Name | Type | Description |
|---|---|---|
| searchDurationSecond | double | Time to perform the search in seconds |
| isTethering | boolean | Find network printers shared by tethering |
Return Value
An instance of this class.
Properties
searchDuration
Time to perform the search in seconds.
Declaration
public double getSearchDurationSecond();
isTethering
Find network printers shared by tethering.
Declaration
public boolean isTethering();