Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/EventHandler.java
cpfeiffer 14a05c3383 Initial support for rebooting the device
(via the Debug activity)
Attention: no safety-confirmation dialog yet!
2015-05-17 21:58:08 +02:00

28 lines
608 B
Java

package nodomain.freeyourgadget.gadgetbridge;
public interface EventHandler {
void onSMS(String from, String body);
void onEmail(String from, String subject, String body);
void onGenericNotification(String title, String details);
void onSetTime(long ts);
void onSetCallState(String number, String name, GBCommand command);
void onSetMusicInfo(String artist, String album, String track);
void onFirmwareVersionReq();
void onBatteryInfoReq();
void onAppInfoReq();
void onAppDelete(int id, int index);
void onPhoneVersion(byte os);
void onReboot();
}