Language

DeviceHandle.Builder.SetBluetoothDevice(BluetoothDevice) メソッド

定義

ターゲット デバイスに関連付けられている BluetoothDevice を設定します。

[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

パラメーター

bluetoothDevice
BluetoothDevice

BluetoothDevice この値を null にすることはできません。

返品

同じ DeviceHandle.Builder インスタンス。 この値は null にすることはできません。

属性

注釈

ターゲット デバイスに関連付けられている BluetoothDevice を設定します。 これが設定されている場合、基になる範囲サービスは、BLE RSSI とチャネルサウンドの範囲のターゲットとして Bluetooth デバイスを使用します。

android.ranging.oob.DeviceHandle.Builder.setBluetoothDeviceの Android リファレンス。

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

適用対象