public abstract static class WifiManager.WpsCallback extends Object
Constructor and Description |
---|
WpsCallback() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFailed(int reason)
WPS operation failed
|
abstract void |
onStarted(String pin)
WPS start succeeded
|
abstract void |
onSucceeded()
WPS operation completed succesfully
|
public abstract void onStarted(String pin)
public abstract void onSucceeded()
public abstract void onFailed(int reason)
reason
- The reason for failure could be one of
WifiManager.WPS_TKIP_ONLY_PROHIBITED
, WifiManager.WPS_OVERLAP_ERROR
,
WifiManager.WPS_WEP_PROHIBITED
, WifiManager.WPS_TIMED_OUT
or WifiManager.WPS_AUTH_FAILURE
and some generic errors.