Define BluetoothPairing API for Nearby Platform Library and add implementation on Windows platform

PiperOrigin-RevId: 528510444
This commit is contained in:
Qin Wang
2023-05-01 10:36:59 -07:00
committed by Copybara-Service
parent 46e4b3eca7
commit e46bfb52d0
8 changed files with 508 additions and 74 deletions
@@ -146,6 +146,11 @@ class BluetoothClassicMedium : public api::BluetoothClassicMedium {
api::BluetoothDevice* GetRemoteDevice(
const std::string& mac_address) override;
// Return a Bluetooth pairing instance to handle the pairing process with the
// remote device.
std::unique_ptr<api::BluetoothPairing> CreatePairing(
api::BluetoothDevice& remote_device) override;
void AddObserver(Observer* observer) override {
// TODO(b/269521993): Implement.
}