Package com.medm.devicekit
Class ScannerStopToken
java.lang.Object
com.medm.devicekit.ScannerStopToken
Scanner stop token -- could be used to stop scan.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if the operation is already finishedboolean
Check if the operation is already stoppedvoid
stopScan()
Stop scan for devices
-
Method Details
-
stopScan
public void stopScan()Stop scan for devices -
isStopped
public boolean isStopped()Check if the operation is already stopped- Returns:
- true, if stopped
-
isScanFinished
public boolean isScanFinished()Check if the operation is already finished- Returns:
- true, if finished
-