public class __EsptouchTask extends Object implements __IEsptouchTask
DEBUG| 构造器和说明 |
|---|
__EsptouchTask(String apSsid,
String apBssid,
String apPassword,
android.content.Context context,
IEsptouchTaskParameter parameter,
boolean isSsidHidden) |
| 限定符和类型 | 方法和说明 |
|---|---|
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() |
void |
setEsptouchListener(IEsptouchListener esptouchListener)
set the esptouch listener, when one device is connected to the Ap, it will be called back
|
public __EsptouchTask(String apSsid, String apBssid, String apPassword, android.content.Context context, IEsptouchTaskParameter parameter, boolean isSsidHidden)
public void interrupt()
__IEsptouchTaskinterrupt 在接口中 __IEsptouchTaskpublic IEsptouchResult executeForResult() throws RuntimeException
__IEsptouchTaskexecuteForResult 在接口中 __IEsptouchTaskRuntimeExceptionpublic boolean isCancelled()
isCancelled 在接口中 __IEsptouchTaskpublic List<IEsptouchResult> executeForResults(int expectTaskResultCount) throws RuntimeException
__IEsptouchTaskexecuteForResults 在接口中 __IEsptouchTaskexpectTaskResultCount - the expect result count(if expectTaskResultCount <= 0,
expectTaskResultCount = Integer.MAX_VALUE)RuntimeExceptionpublic void setEsptouchListener(IEsptouchListener esptouchListener)
__IEsptouchTasksetEsptouchListener 在接口中 __IEsptouchTaskesptouchListener - when one device is connected to the Ap, it will be called back