Mercury-IM/entity/src/main/java/org/mercury_im/messenger/core/entity/chat/ChatPreferences.java

37 lines
941 B
Java

package org.mercury_im.messenger.core.entity.chat;
public interface ChatPreferences {
NotificationPreferences getNotificationPreference();
void setNotificationPreference(NotificationPreferences notificationPreferences);
boolean isTypingNotificationsSupported();
void setTypingNotificationsSupported(boolean typingNotificationsSupported);
boolean isSendTypingNotificationsEnabled();
void setSendTypingNotificationsEnabled(boolean sendTypingNotifications);
boolean isReadNotificationsSupported();
void setReadNotificationsSupported(boolean readNotificationsSupported);
boolean isSendReadNotifications();
void setSendReadNotifications(boolean sendReadNotifications);
interface NotificationPreferences {
boolean isNotifyOnMessage();
void setNotifyOnMessage(boolean notify);
boolean isNotifyOnMention();
void setNotifyOnMention(boolean notify);
}
}