Some javadoc re DeviceManager
This commit is contained in:
parent
233a6155cc
commit
dc932355b5
|
@ -64,6 +64,16 @@ public class DeviceHelper {
|
||||||
return null;
|
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) {
|
public Set<GBDevice> getAvailableDevices(Context context) {
|
||||||
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
|
BluetoothAdapter btAdapter = BluetoothAdapter.getDefaultAdapter();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue