Język

PasnConfig.Builder.SetPassword(String) Method

Definition

Sets the password if needed by the base AKM of the PASN.

[Android.Runtime.Register("setPassword", "(Ljava/lang/String;)Landroid/net/wifi/rtt/PasnConfig$Builder;", "", ApiSince=36)]
public Android.Net.Wifi.Rtt.PasnConfig.Builder SetPassword(string password);
[<Android.Runtime.Register("setPassword", "(Ljava/lang/String;)Landroid/net/wifi/rtt/PasnConfig$Builder;", "", ApiSince=36)>]
member this.SetPassword : string -> Android.Net.Wifi.Rtt.PasnConfig.Builder

Parameters

password
String

password string. This value cannot be null.

Returns

a reference to this Builder. This value cannot be null.

Attributes

Remarks

Sets the password if needed by the base AKM of the PASN.

For STA-AP ranging, If a password is not set directly, it may be retrieved from a saved network profile identified by the SSID. See setWifiSsid(WifiSsid).

Android reference for android.net.wifi.rtt.PasnConfig.Builder.setPassword.

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