Language

AdvertisingSetParameters.Builder.SetSecondaryPhy メソッド

定義

オーバーロード

Name 説明
SetSecondaryPhy(BluetoothPhy)

この広告セットに使用するセカンダリ 物理チャネルを設定します。

SetSecondaryPhy(ScanSettingsPhy)
古い.

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

パラメーター

secondaryPhy
BluetoothPhy

セカンダリ 広告の物理チャネルは、BluetoothDevice.PHY_LE_1M、BluetoothDevice.PHY_LE_2M、またはBluetoothDevice.PHY_LE_CODEDのいずれかです。

戻り値

属性

注釈

この広告セットに使用するセカンダリ 物理チャネルを設定します。

これは、レガシ モードが使用されていない場合にのみ使用されます。

BluetoothAdapter.isLeCodedPhySupported と BluetoothAdapter.isLe2MPhySupported を使用して、このデバイスで LE Coded PHY または 2M PHY がサポートされているかどうかを判断します。

android.bluetooth.le.AdvertisingSetParameters.Builder.setSecondaryPhyの Android リファレンス。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

SetSecondaryPhy(ScanSettingsPhy)

注意事項

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

パラメーター

secondaryPhy
ScanSettingsPhy

戻り値

属性

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象