mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-13 02:21:14 +01:00
23 lines
662 B
Java
23 lines
662 B
Java
package nodomain.freeyourgadget.gadgetbridge.deviceevents;
|
|
|
|
public class GBDeviceEventDisplayMessage {
|
|
public String message;
|
|
public int duration;
|
|
public int severity;
|
|
|
|
/**
|
|
* An event for displaying a message to the user. How the message is displayed
|
|
* is a detail of the current activity, which needs to listen to the Intent
|
|
* GB.ACTION_DISPLAY_MESSAGE.
|
|
*
|
|
* @param message
|
|
* @param duration
|
|
* @param severity
|
|
*/
|
|
public GBDeviceEventDisplayMessage(String message, int duration, int severity) {
|
|
this.message = message;
|
|
this.duration = duration;
|
|
this.severity = severity;
|
|
}
|
|
}
|