Language

AwarePairingConfig.Builder.SetPairingCacheEnabled(Boolean) Method

Definition

Sets whether to cache NPK/NIK from Wi-Fi Aware pairing setup.

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

Parameters

enabled
Boolean

true to enable caching, false otherwise

Returns

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

Attributes

Remarks

Sets whether to cache NPK/NIK from Wi-Fi Aware pairing setup.

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

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