Language

AdvertisingSetParameters.Builder.SetSecondaryPhy メソッド

定義

オーバーロード

Name 説明
SetSecondaryPhy(BluetoothPhy)

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

SetSecondaryPhy(ScanSettingsPhy)
古い.

BluetoothPhy オーバーロードを介してセカンダリ 広告チャネルを設定します。

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

セカンダリ 広告の物理チャネル: Le1m、 Le2m、または LeCoded。

戻り値

このビルダー インスタンス。

属性

注釈

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

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

IsLeCodedPhySupportedとIsLe2MPhySupportedを使用して、LE コード化された 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.

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

パラメーター

secondaryPhy
ScanSettingsPhy

物理チャネル。 BluetoothPhyに変換されます。 有効なのは、数値 1、2、3 のみです。 AllSupported が広告に対して有効ではありません。

戻り値

このビルダー インスタンス。

属性

注釈

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

適用対象