mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 18:41:14 +01:00
14a05c3383
(via the Debug activity) Attention: no safety-confirmation dialog yet!
28 lines
608 B
Java
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();
|
|
}
|