Language

AwarePairingConfig.Builder.SetPairingVerificationEnabled(Boolean) Method

Definition

Set whether enable the Aware Pairing verification

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

Parameters

enabled
Boolean

if set to true will accept Aware Pairing verification request from peer with cached NPK/NIK, otherwise will reject the request.

Returns

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

Attributes

Remarks

Set whether enable the Aware Pairing verification

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

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