SharingBinder
class SharingBinder(sharingManager: SharingManager, guard: AccessGuard, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO) : IASSharingService.Stub
The IASSharingService binder. Every verb needs VerbAccess.SHARE: on the resource it names when it names one, otherwise on the whole pod, because the share indexes and the received-shares list belong to the account, not to any one resource.
Constructors
Link copied to clipboard
constructor(sharingManager: SharingManager, guard: AccessGuard, scope: CoroutineScope, dispatcher: CoroutineDispatcher = Dispatchers.IO)
Functions
Link copied to clipboard
open override fun acceptShareRequest(webId: String, request: ShareRequest, callback: IASSParcelableCallback)
Link copied to clipboard
open fun addFrozenStateChangeCallback(executor: Executor, callback: IBinder.FrozenStateChangeCallback)
Link copied to clipboard
open override fun addReceivedShare(webId: String, resourceUri: String, resourceType: String?, resourceName: 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
open override fun getGivenSharesForResource(webId: String, resourceUri: String, callback: IASSParcelableListCallback)
Link copied to clipboard
open override fun getOwnerCatalog(viewerWebId: String, ownerWebId: String, callback: IASSParcelableListCallback)
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 publishCatalogEntry(webId: String, entry: CatalogEntry, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun purgeGivenShares(webId: String, resourceUri: String, includeDescendants: Boolean, notifyReceivers: Boolean, callback: IASSParcelableListCallback)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun rejectShareRequest(webId: String, request: ShareRequest, reason: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun removeCatalogEntry(webId: String, resourceUri: String, callback: IASSParcelableCallback)
Link copied to clipboard
Link copied to clipboard
open override fun removeReceivedShare(webId: String, resourceUri: String, ownerWebId: String, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun repairOwnerControl(webId: String, resourceUri: String, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun revokeShare(webId: String, resourceUri: String, receiverKind: Int, receiverValue: String?, callback: IASSParcelableCallback)
Link copied to clipboard
open override fun syncReceivedShares(webId: String, notifications: MutableList<ShareNotification>?, callback: IASSParcelableListCallback)
Link copied to clipboard
Link copied to clipboard