37 lines
941 B
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);
|
|
}
|
|
}
|