mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
f6d5767276
Let PebbleSupport do this instead.
39 lines
769 B
Java
39 lines
769 B
Java
package nodomain.freeyourgadget.gadgetbridge;
|
|
|
|
import android.net.Uri;
|
|
|
|
import java.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();
|
|
}
|