AwarePairingConfig.Builder.SetPairingCacheEnabled(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 cache of the NPK/NIK of 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
Set whether enable cache of the NPK/NIK of 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.