public interface IEsptouchTask
| 限定符和类型 | 方法和说明 |
|---|---|
IEsptouchResult |
executeForResult()
Note: !!!
|
List<IEsptouchResult> |
executeForResults(int expectTaskResultCount)
Note: !!!
|
void |
interrupt()
Interrupt the Esptouch Task when User tap back or close the Application.
|
boolean |
isCancelled()
check whether the task is cancelled by user
|
void |
setEsptouchListener(IEsptouchListener esptouchListener)
set the esptouch listener, when one device is connected to the Ap, it will be called back
|
void setEsptouchListener(IEsptouchListener esptouchListener)
esptouchListener - when one device is connected to the Ap, it will be called backvoid interrupt()
IEsptouchResult executeForResult() throws RuntimeException
RuntimeExceptionList<IEsptouchResult> executeForResults(int expectTaskResultCount) throws RuntimeException
expectTaskResultCount - the expect result count(if expectTaskResultCount <= 0,
expectTaskResultCount = Integer.MAX_VALUE)RuntimeExceptionboolean isCancelled()