Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/DeviceSupport.java

19 lines
450 B
Java
Raw Normal View History

package nodomain.freeyourgadget.gadgetbridge;
import android.bluetooth.BluetoothAdapter;
import android.content.Context;
public interface DeviceSupport extends EventHandler {
public void initialize(GBDevice gbDevice, BluetoothAdapter btAdapter, Context context);
2015-04-14 10:29:09 +02:00
public boolean connect();
public GBDevice getDevice();
2015-04-14 10:29:09 +02:00
public BluetoothAdapter getBluetoothAdapter();
2015-04-14 10:29:09 +02:00
public Context getContext();
public void dispose();
}