Android APIs
public static abstract class

WifiManager.WpsCallback

extends Object
java.lang.Object
   ↳ android.net.wifi.WifiManager.WpsCallback

Class Overview


Interface for callback invocation on a start WPS action

Summary


Public Constructors
WifiManager.WpsCallback()
Public Methods
abstract void onFailed(int reason)
WPS operation failed
abstract void onStarted(String pin)
WPS start succeeded
abstract void onSucceeded()
WPS operation completed succesfully
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors


public WifiManager.WpsCallback ()

Added in API level 21

Public Methods


public abstract void onFailed (int reason)

Added in API level 21

WPS operation failed

Parameters
reason 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.

public abstract void onStarted (String pin)

Added in API level 21

WPS start succeeded

public abstract void onSucceeded ()

Added in API level 21

WPS operation completed succesfully