mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-01 19:06:06 +02:00
554e33adaa
adds synchronization of supported files from watch to external directory adds support for Activity and Monitoring files (workouts and activity samples), but those are not integrated yet adds upload functionality (not used ATM and not tested) adds notification support without actions introduces centralized processing of "messageHandlers" (protobuf, file transfer, notifications) also properly dispose of the music timer when disconnecting
20 lines
595 B
Java
20 lines
595 B
Java
package nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.deviceevents;
|
|
|
|
import java.util.List;
|
|
|
|
import nodomain.freeyourgadget.gadgetbridge.deviceevents.GBDeviceEvent;
|
|
import nodomain.freeyourgadget.gadgetbridge.service.devices.garmin.FileType;
|
|
|
|
public class SupportedFileTypesDeviceEvent extends GBDeviceEvent {
|
|
|
|
private final List<FileType> supportedFileTypes;
|
|
|
|
public SupportedFileTypesDeviceEvent(List<FileType> fileTypes) {
|
|
this.supportedFileTypes = fileTypes;
|
|
}
|
|
|
|
public List<FileType> getSupportedFileTypes() {
|
|
return supportedFileTypes;
|
|
}
|
|
}
|