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)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun asBinder(): IBinder?
Link copied to clipboard
open fun attachInterface(owner: IInterface?, descriptor: String?)
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
open fun dump(fd: FileDescriptor, args: Array<out String?>??)
Link copied to clipboard
open fun dumpAsync(fd: FileDescriptor, args: Array<out String?>??)
Link copied to clipboard
open override fun ensureInbox(webId: String, callback: IASSParcelableCallback)
Link copied to clipboard
open fun linkToDeath(recipient: IBinder.DeathRecipient, flags: Int)
Link copied to clipboard
open override fun listNotifications(webId: String, callback: IASSParcelableListCallback)
Link copied to clipboard
open override fun listRequests(webId: String, callback: IASSParcelableListCallback)
Link copied to clipboard
open fun onTransact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean
Link copied to clipboard
open fun pingBinder(): Boolean
Link copied to clipboard
open fun queryLocalInterface(descriptor: String): IInterface?
Link copied to clipboard
open override fun recordDecisionGranted(ownerWebId: String, requesterWebId: String, resourceUri: String, mode: Int, requestUri: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun recordDecisionRejected(ownerWebId: String, requesterWebId: String, resourceUri: String, mode: Int, reason: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendAccept(ownerWebId: String, requesterWebId: String, resourceUri: String, mode: Int, requestUri: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendOffer(ownerWebId: String, receiverWebId: String, resourceUri: String, mode: Int, resourceType: String?, resourceName: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendReject(ownerWebId: String, requesterWebId: String, resourceUri: String, reason: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendRequest(requesterWebId: String, ownerWebId: String, resourceUri: String, requestedMode: Int, summary: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendUndo(ownerWebId: String, receiverWebId: String, resourceUri: String, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun sendUpdate(ownerWebId: String, receiverWebId: String, resourceUri: String, mode: Int, resourceType: String?, resourceName: String?, callback: IASSParcelableCallback)
Link copied to clipboard
fun transact(code: Int, data: Parcel, reply: Parcel?, flags: Int): Boolean
Link copied to clipboard
open fun unlinkToDeath(recipient: IBinder.DeathRecipient, flags: Int): Boolean