AdvertisingSetParameters.Builder.SetSecondaryPhy Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| SetSecondaryPhy(BluetoothPhy) |
Impostare il canale fisico secondario utilizzato per questo set di annunci pubblicitari. |
| SetSecondaryPhy(ScanSettingsPhy) |
Obsoleti.
|
SetSecondaryPhy(BluetoothPhy)
Impostare il canale fisico secondario utilizzato per questo set di annunci pubblicitari.
[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
Parametri
- secondaryPhy
- BluetoothPhy
Il canale fisico pubblicitario secondario può essere solo uno dei BluetoothDevice.PHY_LE_1M, BluetoothDevice.PHY_LE_2M o BluetoothDevice.PHY_LE_CODED.
Valori restituiti
- Attributi
Commenti
Impostare il canale fisico secondario utilizzato per questo set di annunci pubblicitari.
Viene usato solo se non viene usata la modalità legacy.
Usare BluetoothAdapter.isLeCodedPhySupported e BluetoothAdapter.isLe2MPhySupported per determinare se nel dispositivo è supportato IL CODED PHY o 2M PHY.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.
Si applica a
SetSecondaryPhy(ScanSettingsPhy)
Attenzione
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
Parametri
- secondaryPhy
- ScanSettingsPhy
Valori restituiti
- Attributi
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.