Partager via


AdvertisingSetParameters.Builder.SetSecondaryPhy Méthode

Définition

Surcharges

SetSecondaryPhy(BluetoothPhy)
SetSecondaryPhy(ScanSettingsPhy)
Obsolète.

SetSecondaryPhy(BluetoothPhy)

[Android.Runtime.Register("setSecondaryPhy", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetSecondaryPhy (Android.Bluetooth.BluetoothPhy secondaryPhy);
[<Android.Runtime.Register("setSecondaryPhy", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetSecondaryPhy : Android.Bluetooth.BluetoothPhy -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

Paramètres

secondaryPhy
BluetoothPhy

Retours

Attributs

S’applique à

SetSecondaryPhy(ScanSettingsPhy)

Attention

This method has the wrong enumeration. Use the version that takes an 'Android.Bluetooth.BluetoothPhy' instead.

[System.Obsolete("This method has the wrong enumeration. Use the version that takes an 'Android.Bluetooth.BluetoothPhy' instead.")]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetSecondaryPhy (Android.Bluetooth.LE.ScanSettingsPhy secondaryPhy);
[<System.Obsolete("This method has the wrong enumeration. Use the version that takes an 'Android.Bluetooth.BluetoothPhy' instead.")>]
member this.SetSecondaryPhy : Android.Bluetooth.LE.ScanSettingsPhy -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder

Paramètres

secondaryPhy
ScanSettingsPhy

Retours

Attributs

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à