WifiManager.WpsCallback
public
static
abstract
class
WifiManager.WpsCallback
extends Object
java.lang.Object | |
↳ | android.net.wifi.WifiManager.WpsCallback |
This class was deprecated
in API level 28.
This is deprecated
Interface for callback invocation on a start WPS action
Summary
Public constructors | |
---|---|
WpsCallback()
|
Public methods | |
---|---|
abstract
void
|
onFailed(int reason)
This method is deprecated. This API is deprecated |
abstract
void
|
onStarted(String pin)
This method is deprecated. This API is deprecated |
abstract
void
|
onSucceeded()
This method is deprecated. This API is deprecated |
Inherited methods | |
---|---|
Public constructors
Public methods
onFailed
public abstract void onFailed (int reason)
This method is deprecated.
This API is deprecated
WPS operation failed
Parameters | |
---|---|
reason |
int : 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. |
onStarted
public abstract void onStarted (String pin)
This method is deprecated.
This API is deprecated
WPS start succeeded
Parameters | |
---|---|
pin |
String |
onSucceeded
public abstract void onSucceeded ()
This method is deprecated.
This API is deprecated
WPS operation completed successfully