Added in API level 14

WpsInfo


open class WpsInfo : Parcelable
kotlin.Any
   ↳ android.net.wifi.WpsInfo

A class representing Wi-Fi Protected Setup

Summary

Constants
static Int

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

static Int

Invalid configuration

static Int

Keypad pin method configuration - pin is entered on device

static Int

Label pin method configuration - pin is labelled on device

static Int

Push button configuration

Inherited constants
Public constructors

WpsInfo(source: WpsInfo!)

Public methods
open Int

Implement the Parcelable interface

open String

Returns a string representation of the object.

open Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Properties
String!

Passed with pin method KEYPAD

static Parcelable.Creator<WpsInfo!>

Implement the Parcelable interface

String!

Passed with pin method configuration

Int

Wi-Fi Protected Setup.

Constants

DISPLAY

Added in API level 14
static val DISPLAY: Int

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

Value: 1

INVALID

Added in API level 14
static val INVALID: Int

Invalid configuration

Value: 4

KEYPAD

Added in API level 14
static val KEYPAD: Int

Keypad pin method configuration - pin is entered on device

Value: 2

LABEL

Added in API level 14
static val LABEL: Int

Label pin method configuration - pin is labelled on device

Value: 3

PBC

Added in API level 14
static val PBC: Int

Push button configuration

Value: 0

Public constructors

WpsInfo

Added in API level 14
WpsInfo()

WpsInfo

Added in API level 14
WpsInfo(source: WpsInfo!)

Public methods

describeContents

Added in API level 14
open fun describeContents(): Int

Implement the Parcelable interface

Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance.
Value is either 0 or

toString

Added in API level 14
open fun toString(): String

Returns a string representation of the object.

Return
String a string representation of the object.

writeToParcel

Added in API level 14
open fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Implement the Parcelable interface

Parameters
dest Parcel: The Parcel in which the object should be written.
This value cannot be null.
flags Int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.
Value is either 0 or a combination of the following:

Properties

BSSID

Added in API level 21
var BSSID: String!

Passed with pin method KEYPAD

CREATOR

Added in API level 14
static val CREATOR: Parcelable.Creator<WpsInfo!>

Implement the Parcelable interface

pin

Added in API level 14
var pin: String!

Passed with pin method configuration

setup

Added in API level 14
var setup: Int

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