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() |
|
Public methods | |
---|---|
open Int |
Implement the Parcelable interface |
open String |
toString() |
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
static val DISPLAY: Int
Display pin method configuration - pin is generated and displayed on device
Value: 1
KEYPAD
static val KEYPAD: Int
Keypad pin method configuration - pin is entered on device
Value: 2
LABEL
static val LABEL: Int
Label pin method configuration - pin is labelled on device
Value: 3
Public constructors
Public methods
describeContents
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
open fun toString(): String
Return | |
---|---|
String |
a string representation of the object. |
writeToParcel
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
CREATOR
static val CREATOR: Parcelable.Creator<WpsInfo!>
Implement the Parcelable interface
setup
var setup: Int
Wi-Fi Protected Setup. www.wi-fi.org/wifi-protected-setup has details