Language

AwareDataPathRequest.Builder.SetDataPathSecurityConfig Method

Definition

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 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

This method is optional. If it is not called, the request specifies an open data path.

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.

Applies to