mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-12 10:55:49 +01:00
Some javadoc re DeviceManager
This commit is contained in:
parent
233a6155cc
commit
dc932355b5
@ -64,6 +64,16 @@ public class DeviceHelper {
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the list of all available devices that are supported by Gadgetbridge.
|
||||
* Note that no state is known about the returned devices. Even if one of those
|
||||
* devices is connected, it will report the default not-connected state.
|
||||
*
|
||||
* Clients interested in the "live" devices being managed should use the class
|
||||
* DeviceManager.
|
||||
* @param context
|
||||
* @return
|
||||
*/
|
||||
public Set<GBDevice> getAvailableDevices(Context context) {
|
||||
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user