AwarePairingConfig.Builder.SetPairingVerificationEnabled(Boolean) 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.
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
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.