AdvertisingSetParameters.Builder.SetPrimaryPhy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SetPrimaryPhy(BluetoothPhy) | |
SetPrimaryPhy(ScanSettingsPhy) |
Obsolete.
|
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
Parameters
- primaryPhy
- BluetoothPhy
Returns
- Attributes
Applies to
SetPrimaryPhy(ScanSettingsPhy)
Caution
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
Parameters
- primaryPhy
- ScanSettingsPhy
Returns
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.