Language

SubscribeConfig.Builder.SetPairingConfig(AwarePairingConfig) Method

Definition

Set the AwarePairingConfig for this subscribe session, the peer can use this info to determine the config of the following bootstrapping, pairing setup/verification request.

[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

Set the AwarePairingConfig for this subscribe session, the peer can use this info to determine the config of the following bootstrapping, pairing setup/verification request.

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.

Applies to