PasnConfig.Builder.SetPassword(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.