SubscribeConfig.Builder.SetPairingConfig(AwarePairingConfig) 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.
Sets the pairing configuration for this subscribe session.
[Android.Runtime.Register("setPairingConfig", "(Landroid/net/wifi/aware/AwarePairingConfig;)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=34)]
public Android.Net.Wifi.Aware.SubscribeConfig.Builder SetPairingConfig(Android.Net.Wifi.Aware.AwarePairingConfig? config);
[<Android.Runtime.Register("setPairingConfig", "(Landroid/net/wifi/aware/AwarePairingConfig;)Landroid/net/wifi/aware/SubscribeConfig$Builder;", "", ApiSince=34)>]
member this.SetPairingConfig : Android.Net.Wifi.Aware.AwarePairingConfig -> Android.Net.Wifi.Aware.SubscribeConfig.Builder
Parameters
- config
- AwarePairingConfig
The pairing configuration advertised to the peer, or null. A non-null configuration requires IsAwarePairingSupported to be true.
Returns
the current Builder builder, enabling chaining of builder methods. This value cannot be null.
- Attributes
Remarks
The peer can use this information to choose the configuration for later bootstrapping, pairing setup, or pairing verification requests.
Android reference for android.net.wifi.aware.SubscribeConfig.Builder.setPairingConfig.
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.