2024-01-10 18:54:00 +01:00
|
|
|
/* Copyright (C) 2015-2024 Andreas Shimokawa, Daniele Gobbetti
|
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
|
2024-01-10 18:54:00 +01:00
|
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
2015-08-31 22:27:25 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.deviceevents;
|
|
|
|
|
|
|
|
public class GBDeviceEventNotificationControl extends GBDeviceEvent {
|
2018-11-01 19:12:43 +01:00
|
|
|
public long handle;
|
2016-06-21 00:31:53 +02:00
|
|
|
public String phoneNumber;
|
2015-12-13 22:43:53 +01:00
|
|
|
public String reply;
|
2018-10-31 21:47:12 +01:00
|
|
|
public String title;
|
2015-08-31 22:27:25 +02:00
|
|
|
public Event event = Event.UNKNOWN;
|
|
|
|
|
|
|
|
public enum Event {
|
|
|
|
UNKNOWN,
|
|
|
|
DISMISS,
|
2015-09-01 21:58:36 +02:00
|
|
|
DISMISS_ALL,
|
2015-09-25 00:53:40 +02:00
|
|
|
OPEN,
|
2015-12-13 22:43:53 +01:00
|
|
|
MUTE,
|
|
|
|
REPLY,
|
2015-08-31 22:27:25 +02:00
|
|
|
}
|
|
|
|
}
|