AdvertisingSetParameters.Builder.SetSecondaryPhy メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 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
戻り値
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。