Compartilhar via


WifiAwareDataPathSecurityConfig.Builder.Build Method

Definition

Create a WifiAwareDataPathSecurityConfig to set in WifiAwareNetworkSpecifier.Builder#setDataPathSecurityConfig(WifiAwareDataPathSecurityConfig) to encrypt the link.

[Android.Runtime.Register("build", "()Landroid/net/wifi/aware/WifiAwareDataPathSecurityConfig;", "", ApiSince=33)]
public Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig Build ();
[<Android.Runtime.Register("build", "()Landroid/net/wifi/aware/WifiAwareDataPathSecurityConfig;", "", ApiSince=33)>]
member this.Build : unit -> Android.Net.Wifi.Aware.WifiAwareDataPathSecurityConfig

Returns

A WifiAwareDataPathSecurityConfig to be used for encrypting the Wi-Fi Aware data-path.

Attributes

Remarks

Create a WifiAwareDataPathSecurityConfig to set in WifiAwareNetworkSpecifier.Builder#setDataPathSecurityConfig(WifiAwareDataPathSecurityConfig) to encrypt the link.

Java documentation for android.net.wifi.aware.WifiAwareDataPathSecurityConfig.Builder.build().

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