NotificationsBinder
class NotificationsBinder(notificationsManager: NotificationsManager, guard: AccessGuard, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO) : IASSNotificationsService.Stub
The IASSNotificationsService binder. The inbox belongs to the account, so every verb is checked on the whole pod: reads at VerbAccess.INBOX_READ, deletions at VerbAccess.INBOX_WRITE, and anything that speaks to another inbox as the user, or records a decision, at VerbAccess.INBOX_SEND. The acting account is the first WebID each verb takes.
Constructors
Link copied to clipboard
constructor(notificationsManager: NotificationsManager, guard: AccessGuard, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO)
Functions
Link copied to clipboard
open fun addFrozenStateChangeCallback(executor: Executor, callback: IBinder.FrozenStateChangeCallback)
Link copied to clipboard
Link copied to clipboard
open override fun compactInbox(webId: String, olderThanIso: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun deleteNotification(webId: String, notificationUri: String, callback: IASSParcelableCallback)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun sendReject(ownerWebId: String, requesterWebId: String, resourceUri: String, reason: String?, callback: IASSParcelableCallback)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard