DeviceHandle.Builder.SetBluetoothDevice(BluetoothDevice) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit le BluetoothDevice associé à l’appareil cible.
[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
Paramètres
- bluetoothDevice
- BluetoothDevice
BluetoothDevice Cette valeur ne peut pas être null.
Retours
la même instance DeviceHandle.Builder. Cette valeur ne peut pas être null.
- Attributs
Remarques
Définit le BluetoothDevice associé à l’appareil cible. Si ce paramètre est défini, le service de gamme sous-jacent utilise l’appareil Bluetooth comme cible pour BLE RSSI et Channel Sounding.
Référence Android pour android.ranging.oob.DeviceHandle.Builder.setBluetoothDevice.
Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.