1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 12:56:49 +01:00

reordered functions in BFH16DeviceCoordinator

This commit is contained in:
Sophanimus 2019-04-04 21:56:40 +02:00 committed by Andreas Shimokawa
parent 0b1f3ee1d7
commit deb4d3a0ee

View File

@ -113,7 +113,8 @@ public class BFH16DeviceCoordinator extends AbstractDeviceCoordinator
return null;
}
//SupportsXXX ________________________________________________________
//Supported ________________________________________________________
@Override
public int getAlarmSlotCount()
@ -121,6 +122,27 @@ public class BFH16DeviceCoordinator extends AbstractDeviceCoordinator
return 3;
}
@Override
public boolean supportsFindDevice()
{
return true;
}
@Override
public boolean supportsHeartRateMeasurement(GBDevice device)
{
return true;
}
@Override
public boolean supportsRealtimeData()
{
return true;
}
//NOT Supported ________________________________________________________
@Override
public boolean supportsActivityDataFetching(){
return false;
@ -144,18 +166,6 @@ public class BFH16DeviceCoordinator extends AbstractDeviceCoordinator
return false;
}
@Override
public boolean supportsFindDevice()
{
return true;
}
@Override
public boolean supportsHeartRateMeasurement(GBDevice device)
{
return true;
}
@Override
public boolean supportsLedColor()
{
@ -168,12 +178,6 @@ public class BFH16DeviceCoordinator extends AbstractDeviceCoordinator
return false;
}
@Override
public boolean supportsRealtimeData()
{
return true;
}
@Override
public boolean supportsRgbLedColor()
{