DeviceHandle.Builder.SetBluetoothDevice(BluetoothDevice) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定與目標裝置相關的藍牙裝置。
[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
藍牙裝置 這個值不可能為空值。
傳回
同一個 DeviceHandle.Builder 實例。 這個值不可能為零值。
- 屬性
備註
設定與目標裝置相關的藍牙裝置。 若設定此選項,底層測距服務將以藍牙裝置作為 BLE RSSI 及頻道探測測距的目標。
Android 參考資料。android.ranging.oob.DeviceHandle.Builder.setBluetoothDevice
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。