1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-16 06:59:29 +01:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/EventHandler.java

42 lines
816 B
Java
Raw Normal View History

package nodomain.freeyourgadget.gadgetbridge;
import android.net.Uri;
import java.util.UUID;
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 onInstallApp(Uri uri);
void onAppInfoReq();
void onAppStart(UUID uuid);
void onAppDelete(UUID uuid);
void onPhoneVersion(byte os);
void onFetchActivityData();
void onReboot();
void onFindDevice(boolean start);
void onScreenshotReq();
}