2018-02-26 14:27:32 +01:00
|
|
|
/* Copyright (C) 2015-2018 Andreas Shimokawa
|
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-08-31 22:27:25 +02:00
|
|
|
package nodomain.freeyourgadget.gadgetbridge.deviceevents;
|
|
|
|
|
|
|
|
public class GBDeviceEventNotificationControl extends GBDeviceEvent {
|
|
|
|
public int handle;
|
2016-06-21 00:31:53 +02:00
|
|
|
public String phoneNumber;
|
2015-12-13 22:43:53 +01:00
|
|
|
public String reply;
|
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
|
|
|
}
|
|
|
|
}
|