AwareDataPathRequest.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/AwareDataPathRequest$Builder;", "", ApiSince=37)]
public Android.Net.Wifi.Aware.AwareDataPathRequest.Builder SetDataPathSecurityConfig(Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig securityConfig);
[<Android.Runtime.Register("setDataPathSecurityConfig", "(Landroid/net/wifi/aware/WifiAwareDataPathSecurityConfig;)Landroid/net/wifi/aware/AwareDataPathRequest$Builder;", "", ApiSince=37)>]
member this.SetDataPathSecurityConfig : Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig -> Android.Net.Wifi.Aware.AwareDataPathRequest.Builder
Parameters
- securityConfig
- WifiAwareDataPathSecurityConfig
The (optional) security config to be used to encrypt the link. 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 not called, then an Open (unencrypted) connection will be created.
Android reference for android.net.wifi.aware.AwareDataPathRequest.Builder.setDataPathSecurityConfig.
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.