AdvertisingSetParameters.Builder.SetPrimaryPhy メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| SetPrimaryPhy(BluetoothPhy) |
この広告セットに使用するプライマリ 物理チャネルを設定します。 |
| SetPrimaryPhy(ScanSettingsPhy) |
古い.
|
SetPrimaryPhy(BluetoothPhy)
この広告セットに使用するプライマリ 物理チャネルを設定します。
[Android.Runtime.Register("setPrimaryPhy", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)]
public Android.Bluetooth.LE.AdvertisingSetParameters.Builder? SetPrimaryPhy(Android.Bluetooth.BluetoothPhy primaryPhy);
[<Android.Runtime.Register("setPrimaryPhy", "(I)Landroid/bluetooth/le/AdvertisingSetParameters$Builder;", "", ApiSince=26)>]
member this.SetPrimaryPhy : Android.Bluetooth.BluetoothPhy -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder
パラメーター
- primaryPhy
- BluetoothPhy
プライマリ 広告の物理チャネルは、BluetoothDevice.PHY_LE_1MまたはBluetoothDevice.PHY_LE_CODEDのみ可能です。
戻り値
- 属性
注釈
この広告セットに使用するプライマリ 物理チャネルを設定します。
これは、レガシ モードが使用されていない場合にのみ使用されます。
BluetoothAdapter.isLeCodedPhySupported を使用して、このデバイスで LE Coded PHY がサポートされているかどうかを確認します。
android.bluetooth.le.AdvertisingSetParameters.Builder.setPrimaryPhyの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。
適用対象
SetPrimaryPhy(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? SetPrimaryPhy(Android.Bluetooth.LE.ScanSettingsPhy primaryPhy);
[<System.Obsolete("This method has the wrong enumeration. Use the version that takes an 'Android.Bluetooth.BluetoothPhy' instead.")>]
member this.SetPrimaryPhy : Android.Bluetooth.LE.ScanSettingsPhy -> Android.Bluetooth.LE.AdvertisingSetParameters.Builder
パラメーター
- primaryPhy
- ScanSettingsPhy
戻り値
- 属性
注釈
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。