Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/model/NotificationType.java

27 lines
567 B
Java
Raw Normal View History

package nodomain.freeyourgadget.gadgetbridge.model;
public enum NotificationType {
UNKNOWN,
CONVERSATIONS,
GENERIC_EMAIL,
GENERIC_NAVIGATION,
GENERIC_SMS,
FACEBOOK,
FACEBOOK_MESSENGER,
SIGNAL,
TWITTER,
TELEGRAM;
/**
* Returns the enum constant as a fixed String value, e.g. to be used
* as preference key. In case the keys are ever changed, this method
* may be used to bring backward compatibility.
* @return
*/
public String getFixedValue() {
return name().toLowerCase();
}
}