added in API level 21
Deprecated since API level P

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 P.
This is deprecated

Interface for callback invocation on a start WPS action

Summary

Public constructors

WifiManager.WpsCallback()

Public methods

abstract void onFailed(int reason)

This method was deprecated in API level P. This API is deprecated

abstract void onStarted(String pin)

This method was deprecated in API level P. This API is deprecated

abstract void onSucceeded()

This method was deprecated in API level P. This API is deprecated

Inherited methods

Public constructors

WifiManager.WpsCallback

added in API level 21
WifiManager.WpsCallback ()

Public methods

onFailed

added in API level 21
void onFailed (int reason)

This method was deprecated in API level P.
This API is deprecated

WPS operation failed

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.

onStarted

added in API level 21
void onStarted (String pin)

This method was deprecated in API level P.
This API is deprecated

WPS start succeeded

Parameters
pin String

onSucceeded

added in API level 21
void onSucceeded ()

This method was deprecated in API level P.
This API is deprecated

WPS operation completed successfully