Added in API level 14

WpsInfo


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

A class representing Wi-Fi Protected Setup {@see android.net.wifi.p2p.WifiP2pConfig}

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

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 android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

toString

Added in API level 14
open fun toString(): String
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 android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES

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