1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-04 17:27:24 +01:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/EventHandler.java

38 lines
748 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();
}