2017-10-16 09:38:02 +02:00
|
|
|
/* Copyright (C) 2015-2017 Andreas Shimokawa, Frank Slezak
|
2017-03-10 14:53:19 +01:00
|
|
|
|
|
|
|
This file is part of Gadgetbridge.
|
|
|
|
|
|
|
|
Gadgetbridge is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published
|
|
|
|
by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
Gadgetbridge is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU Affero General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
2015-09-24 14:45:21 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.model;
|
|
|
|
|
|
|
|
public class NotificationSpec {
|
2016-01-09 17:54:17 +01:00
|
|
|
public static final int FLAG_WEARABLE_REPLY = 0x00000001;
|
|
|
|
|
|
|
|
public int flags;
|
2015-09-24 14:45:21 +02:00
|
|
|
public int id;
|
|
|
|
public String sender;
|
|
|
|
public String phoneNumber;
|
|
|
|
public String title;
|
|
|
|
public String subject;
|
|
|
|
public String body;
|
|
|
|
public NotificationType type;
|
|
|
|
public String sourceName;
|
2015-12-13 12:03:57 +01:00
|
|
|
public String[] cannedReplies;
|
2017-09-19 13:24:31 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The application that generated the notification.
|
|
|
|
*/
|
|
|
|
public String sourceAppId;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The color that should be assigned to this notification when displayed on a Pebble
|
|
|
|
*/
|
|
|
|
public byte pebbleColor;
|
2015-09-24 14:45:21 +02:00
|
|
|
}
|