Language

AwarePairingConfig.Builder.SetPairingSetupEnabled(Boolean) Method

Definition

Sets whether Wi-Fi Aware pairing setup is enabled.

[Android.Runtime.Register("setPairingSetupEnabled", "(Z)Landroid/net/wifi/aware/AwarePairingConfig$Builder;", "", ApiSince=34)]
public Android.Net.Wifi.Aware.AwarePairingConfig.Builder SetPairingSetupEnabled(bool enabled);
[<Android.Runtime.Register("setPairingSetupEnabled", "(Z)Landroid/net/wifi/aware/AwarePairingConfig$Builder;", "", ApiSince=34)>]
member this.SetPairingSetupEnabled : bool -> Android.Net.Wifi.Aware.AwarePairingConfig.Builder

Parameters

enabled
Boolean

true to enable, false otherwise

Returns

the current Builder builder, enabling chaining of builder methods. This value cannot be null.

Attributes

Remarks

Sets whether Wi-Fi Aware pairing setup is enabled.

Android reference for android.net.wifi.aware.AwarePairingConfig.Builder.setPairingSetupEnabled.

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