mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-28 16:00:12 +02:00
38 lines
748 B
Java
38 lines
748 B
Java
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();
|
|
}
|