public static abstract class WifiManager.WpsCallback
extends Object
java.lang.Object | |
↳ | android.net.wifi.WifiManager.WpsCallback |
开始WPS动作的回调调用接口
Public constructors |
|
---|---|
WifiManager.WpsCallback() |
Public methods |
|
---|---|
abstract void |
onFailed(int reason) WPS操作失败 |
abstract void |
onStarted(String pin) WPS启动成功 |
abstract void |
onSucceeded() WPS操作成功完成 |
Inherited methods |
|
---|---|
From class java.lang.Object
|
void onFailed (int reason)
WPS操作失败
Parameters | |
---|---|
reason |
int : The reason for failure could be one of WPS_TKIP_ONLY_PROHIBITED , WPS_OVERLAP_ERROR , WPS_WEP_PROHIBITED , WPS_TIMED_OUT or WPS_AUTH_FAILURE and some generic errors. |