DeviceHandle.Builder.SetBluetoothDevice(BluetoothDevice) 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.
Sets the BluetoothDevice associated with the target device.
[Android.Runtime.Register("setBluetoothDevice", "(Landroid/bluetooth/BluetoothDevice;)Landroid/ranging/oob/DeviceHandle$Builder;", "", ApiSince=37)]
public Android.Ranging.Oob.DeviceHandle.Builder SetBluetoothDevice(Android.Bluetooth.BluetoothDevice bluetoothDevice);
[<Android.Runtime.Register("setBluetoothDevice", "(Landroid/bluetooth/BluetoothDevice;)Landroid/ranging/oob/DeviceHandle$Builder;", "", ApiSince=37)>]
member this.SetBluetoothDevice : Android.Bluetooth.BluetoothDevice -> Android.Ranging.Oob.DeviceHandle.Builder
Parameters
- bluetoothDevice
- BluetoothDevice
the BluetoothDevice This value cannot be null.
Returns
the same DeviceHandle.Builder instance. This value cannot be null.
- Attributes
Remarks
Sets the BluetoothDevice associated with the target device. If this is set, the underlying ranging service will use the bluetooth device as the target for BLE RSSI and Channel Sounding ranging.
Android reference for android.ranging.oob.DeviceHandle.Builder.setBluetoothDevice.
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.