mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-06-24 22:10:55 +02:00
1d41f2f8e4
The notfification APIs now use NotificationSpec as their only parameter, which contains all information (required and optional ones). We no longer have separate methods and actions for SMS/EMAIL/GENERIC anymore. The type of notification is important now, not how we received them technically.
24 lines
637 B
Java
24 lines
637 B
Java
package nodomain.freeyourgadget.gadgetbridge.activities.charts;
|
|
|
|
import java.util.Date;
|
|
|
|
import nodomain.freeyourgadget.gadgetbridge.impl.GBDevice;
|
|
|
|
public interface ChartsHost {
|
|
static final String DATE_PREV = ChartsActivity.class.getName().concat(".date_prev");
|
|
static final String DATE_NEXT = ChartsActivity.class.getName().concat(".date_next");
|
|
static final String REFRESH = ChartsActivity.class.getName().concat(".refresh");
|
|
|
|
GBDevice getDevice();
|
|
|
|
void setStartDate(Date startDate);
|
|
|
|
void setEndDate(Date endDate);
|
|
|
|
Date getStartDate();
|
|
|
|
Date getEndDate();
|
|
|
|
void setDateInfo(String dateInfo);
|
|
}
|