WifiP2pPairingBootstrappingConfig(PairingBootstrappingMethods, String) Constructor

Definition

Constructor for a WifiP2pPairingBootstrappingConfig.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)]
public WifiP2pPairingBootstrappingConfig(Android.Net.Wifi.P2p.PairingBootstrappingMethods method, string? password);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)>]
new Android.Net.Wifi.P2p.WifiP2pPairingBootstrappingConfig : Android.Net.Wifi.P2p.PairingBootstrappingMethods * string -> Android.Net.Wifi.P2p.WifiP2pPairingBootstrappingConfig

Parameters

method
PairingBootstrappingMethods

One of the PAIRING_BOOTSTRAPPING_METHOD_*.

password
String

Password or PIN for pairing setup. if method is #PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PINCODE, the password must be a string containing 4 or more digits (0-9). For example: "1234", "56789". if method is #PAIRING_BOOTSTRAPPING_METHOD_DISPLAY_PASSPHRASE or #PAIRING_BOOTSTRAPPING_METHOD_OUT_OF_BAND, the password must be a UTF-8 string of minimum of 1 character. The password must be set to null if the method is #PAIRING_BOOTSTRAPPING_METHOD_OPPORTUNISTIC, #PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PINCODE or #PAIRING_BOOTSTRAPPING_METHOD_KEYPAD_PASSPHRASE.

Attributes

Remarks

Constructor for a WifiP2pPairingBootstrappingConfig.

Java documentation for android.net.wifi.p2p.WifiP2pPairingBootstrappingConfig.WifiP2pPairingBootstrappingConfig(int, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to