mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-10 07:31:34 +02:00
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.
13 lines
303 B
Java
13 lines
303 B
Java
package nodomain.freeyourgadget.gadgetbridge.model;
|
|
|
|
public class NotificationSpec {
|
|
public int id;
|
|
public String sender;
|
|
public String phoneNumber;
|
|
public String title;
|
|
public String subject;
|
|
public String body;
|
|
public NotificationType type;
|
|
public String sourceName;
|
|
}
|