| Index: device/bluetooth/public/interfaces/adapter.mojom
|
| diff --git a/device/bluetooth/public/interfaces/adapter.mojom b/device/bluetooth/public/interfaces/adapter.mojom
|
| index e46e7a9b89ed12953058d31d1649cb3b4e2cd33f..bfd457efd8508c32d841caed0ece53aa24a8e185 100644
|
| --- a/device/bluetooth/public/interfaces/adapter.mojom
|
| +++ b/device/bluetooth/public/interfaces/adapter.mojom
|
| @@ -12,6 +12,20 @@ struct DeviceInfo {
|
| };
|
|
|
| interface Adapter {
|
| + // Gets the address of the adapter.
|
| + // Returns empty string if address cannot be retrieved.
|
| + GetAddress() => (string address);
|
| +
|
| + // Gets the name of the adapter.
|
| + // Returns empty string if name cannot be retrieved.
|
| + GetName() => (string name);
|
| +
|
| + // Returns true if adapter is powered.
|
| + IsPowered() => (bool powered);
|
| +
|
| + // Returns true if adapter is present.
|
| + IsPresent() => (bool present);
|
| +
|
| // Retrieves the list of the devices known by the adapter including Connected
|
| // Devices, GATT Connected Devices, Paired Devices and Devices discovered
|
| // during a classic or low-energy scan.
|
|
|