WifiAwareNetworkSpecifier.Builder.SetDataPathSecurityConfig 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.
Configure security config for the Wi-Fi Aware connection being requested.
[Android.Runtime.Register("setDataPathSecurityConfig", "(Landroid/net/wifi/aware/WifiAwareDataPathSecurityConfig;)Landroid/net/wifi/aware/WifiAwareNetworkSpecifier$Builder;", "", ApiSince=33)]
public Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder SetDataPathSecurityConfig(Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig securityConfig);
[<Android.Runtime.Register("setDataPathSecurityConfig", "(Landroid/net/wifi/aware/WifiAwareDataPathSecurityConfig;)Landroid/net/wifi/aware/WifiAwareNetworkSpecifier$Builder;", "", ApiSince=33)>]
member this.SetDataPathSecurityConfig : Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig -> Android.Net.Wifi.Aware.WifiAwareNetworkSpecifier.Builder
Parameters
- securityConfig
- WifiAwareDataPathSecurityConfig
The security configuration to use for the data path. This value cannot be null.
Returns
the current Builder builder, enabling chaining of builder methods. This value cannot be null.
- Attributes
Remarks
Configure security config for the Wi-Fi Aware connection being requested. This method is optional. If no PMK, passphrase, or security configuration is supplied, the builder requests an open (unencrypted) connection. Do not combine this method with SetPmk(Byte[]) or SetPskPassphrase(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.