WifiP2pPairingBootstrappingConfig


class WifiP2pPairingBootstrappingConfig : Parcelable
kotlin.Any
   ↳ android.net.wifi.p2p.WifiP2pPairingBootstrappingConfig

A class representing Wi-Fi Direct pairing bootstrapping config

Summary

Constants
static Int

Pairing bootstrapping method display passphrase - The passphrase is displayed on the connection initiating device.

static Int

Pairing bootstrapping method display pin-code - The pin-code is displayed on the connection initiating device.

static Int

Pairing bootstrapping method keypad passphrase - The passphrase is displayed on the other device.

static Int

Pairing bootstrapping method keypad pin-code - The pin-code is displayed on the other device.

static Int

Pairing bootstrapping method opportunistic

Inherited constants
Public constructors

Constructor for a WifiP2pPairingBootstrappingConfig.

Public methods
Int

Implement the Parcelable interface

String

Generates a string of all the defined elements.

Unit
writeToParcel(dest: Parcel, flags: Int)

Implement the Parcelable interface

Properties
static Parcelable.Creator<WifiP2pPairingBootstrappingConfig!>

Implement the Parcelable interface

Constants

PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PASSPHRASE

static val PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PASSPHRASE: Int

Pairing bootstrapping method display passphrase - The passphrase is displayed on the connection initiating device. The user enters the displayed passphrase on the other device.

Value: 4

PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PINCODE

static val PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PINCODE: Int

Pairing bootstrapping method display pin-code - The pin-code is displayed on the connection initiating device. The user enters the displayed pin-code on the other device.

Value: 2

PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PASSPHRASE

static val PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PASSPHRASE: Int

Pairing bootstrapping method keypad passphrase - The passphrase is displayed on the other device. The user enters the displayed passphrase on the connection initiating device.

Value: 16

PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PINCODE

static val PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PINCODE: Int

Pairing bootstrapping method keypad pin-code - The pin-code is displayed on the other device. The user enters the displayed pin-code on the connection initiating device.

Value: 8

PAIRING_BOOTSTRAPPING_METHOD_OPPORTUNISTIC

static val PAIRING_BOOTSTRAPPING_METHOD_OPPORTUNISTIC: Int

Pairing bootstrapping method opportunistic

Value: 1

Public constructors

Public methods

describeContents

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

fun toString(): String

Generates a string of all the defined elements.

Return
String a compiled string representing all elements

writeToParcel

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

Implement the Parcelable interface

Parameters
dest Parcel: 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<WifiP2pPairingBootstrappingConfig!>

Implement the Parcelable interface