-
public final class PushMessagesRepository
-
-
Field Summary
Fields Modifier and Type Field Description private final <ERROR CLASS>notificationTagsprivate final StateFlow<Boolean>arePushNotificationsEnabled
-
Constructor Summary
Constructors Constructor Description PushMessagesRepository(PushMessageQueries pushMessageQueries)
-
Method Summary
Modifier and Type Method Description final <ERROR CLASS>getNotificationTags()final StateFlow<Boolean>getArePushNotificationsEnabled()final UnitenablePushNotifications()final <ERROR CLASS>insertPushMessage(String id, String topic, String blob, Integer tag)final BooleandoesPushMessageExist(String id)final <ERROR CLASS>deletePushMessagesByTopic(String topic)-
-
Method Detail
-
getNotificationTags
final <ERROR CLASS> getNotificationTags()
-
getArePushNotificationsEnabled
final StateFlow<Boolean> getArePushNotificationsEnabled()
-
enablePushNotifications
final Unit enablePushNotifications()
-
insertPushMessage
final <ERROR CLASS> insertPushMessage(String id, String topic, String blob, Integer tag)
-
doesPushMessageExist
final Boolean doesPushMessageExist(String id)
-
deletePushMessagesByTopic
final <ERROR CLASS> deletePushMessagesByTopic(String topic)
-
-
-
-