mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 18:41:14 +01:00
45 lines
894 B
Java
45 lines
894 B
Java
package nodomain.freeyourgadget.gadgetbridge;
|
|
|
|
import android.net.Uri;
|
|
|
|
import java.util.ArrayList;
|
|
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 onSetAlarms(ArrayList<GBAlarm> alarms);
|
|
|
|
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();
|
|
}
|