WpsInfo

public class WpsInfo
extends Object implements Parcelable

java.lang.Object
   ↳ android.net.wifi.WpsInfo


This class was deprecated in API level 28.
This class is no longer supported.

A class representing Wi-Fi Protected Setup

Summary

Constants

int DISPLAY

This constant was deprecated in API level 28. This is no longer supported.

int INVALID

This constant was deprecated in API level 28. This is no longer supported.

int KEYPAD

This constant was deprecated in API level 28. This is no longer supported.

int LABEL

This constant was deprecated in API level 28. This is no longer supported.

int PBC

This constant was deprecated in API level 28. This is no longer supported.

Inherited constants

Fields

public String BSSID

This field was deprecated in API level 28. This is no longer supported.

public static final Creator<WpsInfo> CREATOR

This field was deprecated in API level 28. This API is no longer supported.

public String pin

This field was deprecated in API level 28. This is no longer supported.

public int setup

This field was deprecated in API level 28. This is no longer supported.

Public constructors

WpsInfo()

This constructor was deprecated in API level 28. This API is no longer supported.

WpsInfo(WpsInfo source)

Public methods

int describeContents()

This method was deprecated in API level 28. This API is no longer supported.

String toString()

This method was deprecated in API level 28. This API is no longer supported.

void writeToParcel(Parcel dest, int flags)

This method was deprecated in API level 28. This API is no longer supported.

Inherited methods

Constants

DISPLAY

added in API level 14
public static final int DISPLAY

This constant was deprecated in API level 28.
This is no longer supported.

Display pin method configuration - pin is generated and displayed on device

Constant Value: 1 (0x00000001)

INVALID

added in API level 14
public static final int INVALID

This constant was deprecated in API level 28.
This is no longer supported.

Invalid configuration

Constant Value: 4 (0x00000004)

KEYPAD

added in API level 14
public static final int KEYPAD

This constant was deprecated in API level 28.
This is no longer supported.

Keypad pin method configuration - pin is entered on device

Constant Value: 2 (0x00000002)

LABEL

added in API level 14
public static final int LABEL

This constant was deprecated in API level 28.
This is no longer supported.

Label pin method configuration - pin is labelled on device

Constant Value: 3 (0x00000003)

PBC

added in API level 14
public static final int PBC

This constant was deprecated in API level 28.
This is no longer supported.

Push button configuration

Constant Value: 0 (0x00000000)

Fields

BSSID

added in API level 21
public String BSSID

This field was deprecated in API level 28.
This is no longer supported.

Passed with pin method KEYPAD

CREATOR

added in API level 14
public static final Creator<WpsInfo> CREATOR

This field was deprecated in API level 28.
This API is no longer supported.

Implement the Parcelable interface

pin

added in API level 14
public String pin

This field was deprecated in API level 28.
This is no longer supported.

Passed with pin method configuration

setup

added in API level 14
public int setup

This field was deprecated in API level 28.
This is no longer supported.

Wi-Fi Protected Setup. www.wi-fi.org/wifi-protected-setup has details

Public constructors

WpsInfo

added in API level 14
public WpsInfo ()

This constructor was deprecated in API level 28.
This API is no longer supported.

WpsInfo

added in API level 14
public WpsInfo (WpsInfo source)

Parameters
source WpsInfo

Public methods

describeContents

added in API level 14
public int describeContents ()

This method was deprecated in API level 28.
This API is no longer supported.

Implement the Parcelable interface

Returns
int a bitmask indicating the set of special object types marshaled by this Parcelable object instance.

toString

added in API level 14
public String toString ()

This method was deprecated in API level 28.
This API is no longer supported.

Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
String a string representation of the object.

writeToParcel

added in API level 14
public void writeToParcel (Parcel dest, 
                int flags)

This method was deprecated in API level 28.
This API is no longer supported.

Implement the Parcelable interface

Parameters
dest Parcel: The Parcel in which the object should be written.

flags int: Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.