mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
BluetoothClassicMedium::GetRemoteDevice and BluetoothClassicSocket::Close implmentations
PiperOrigin-RevId: 390691122
This commit is contained in:
committed by
Copybara-Service
parent
628255ac59
commit
913a639a5d
@@ -21,7 +21,6 @@
|
||||
#include "platform/base/exception.h"
|
||||
#include "platform/base/input_stream.h"
|
||||
#include "platform/base/output_stream.h"
|
||||
|
||||
#include "platform/impl/windows/generated/winrt/Windows.Devices.Bluetooth.h"
|
||||
#include "platform/impl/windows/generated/winrt/Windows.Devices.Enumeration.h"
|
||||
#include "platform/impl/windows/generated/winrt/base.h"
|
||||
@@ -51,6 +50,8 @@ using winrt::Windows::Devices::Bluetooth::BluetoothCacheMode;
|
||||
// https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html.
|
||||
class BluetoothDevice : public api::BluetoothDevice {
|
||||
public:
|
||||
BluetoothDevice(std::string mac_address)
|
||||
: windows_bluetooth_device_(nullptr), mac_address_(mac_address) {}
|
||||
BluetoothDevice(const winrt::Windows::Devices::Bluetooth::BluetoothDevice&
|
||||
bluetoothDevice);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user