Lenguaje

AdvertisingSetParameters.Builder.SetSecondaryPhy Método

Definición

Sobrecargas

Nombre Description
SetSecondaryPhy(BluetoothPhy)

Establezca el canal físico secundario usado para este conjunto de publicidad.

SetSecondaryPhy(ScanSettingsPhy)
Obsoletos.

Establece el canal de publicidad secundario a través de la sobrecarga de BluetoothPhy.

SetSecondaryPhy(BluetoothPhy)

Establezca el canal físico secundario usado para este conjunto de publicidad.

[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

Parámetros

secondaryPhy
BluetoothPhy

Canal físico de publicidad secundaria: Le1m, Le2mo LeCoded.

Devoluciones

Esta instancia del generador.

Atributos

Comentarios

Establezca el canal físico secundario usado para este conjunto de publicidad.

Esto solo se usa si no se usa el modo heredado.

Use IsLeCodedPhySupported y IsLe2MPhySupported para determinar si LE Coded PHY o 2M PHY es compatible con este dispositivo.

Referencia de Android para android.bluetooth.le.AdvertisingSetParameters.Builder.setSecondaryPhy.

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a

SetSecondaryPhy(ScanSettingsPhy)

Precaución

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

Establece el canal de publicidad secundario a través de la sobrecarga de BluetoothPhy.

[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

Parámetros

secondaryPhy
ScanSettingsPhy

Canal físico, convertido en BluetoothPhy. Solo los valores numéricos 1, 2 y 3 son válidos. AllSupported no es válido para la publicidad.

Devoluciones

Esta instancia del generador.

Atributos

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a