WIP notification
parent
d5c84b3c60
commit
cb5ee74a43
@ -1,2 +0,0 @@
|
||||
package org.session.libsession.messaging.sending_receiving.notifications
|
||||
|
@ -0,0 +1,16 @@
|
||||
package org.session.libsession.messaging.sending_receiving.notifications
|
||||
|
||||
import android.content.Context
|
||||
import org.session.libsession.messaging.threads.recipients.Recipient
|
||||
|
||||
interface NotificationProtocol {
|
||||
fun setVisibleThread(threadId: Long)
|
||||
fun setLastDesktopActivityTimestamp(timestamp: Long)
|
||||
fun notifyMessageDeliveryFailed(context: Context?, recipient: Recipient?, threadId: Long)
|
||||
fun cancelDelayedNotifications()
|
||||
fun updateNotification(context: Context)
|
||||
fun updateNotification(context: Context, threadId: Long)
|
||||
fun updateNotification(context: Context, threadId: Long, signal: Boolean)
|
||||
fun updateNotification(context: Context, signal: Boolean, reminderCount: Int)
|
||||
fun clearReminder(context: Context)
|
||||
}
|
Loading…
Reference in New Issue