SharingManager

interface SharingManager

Functions

Link copied to clipboard
abstract suspend fun addCollaborator(sharedLinkId: String, phoneOrEmail: String, permission: SharePermission)
Link copied to clipboard
abstract fun createCollaboratorsFlow(sharedLinkId: String): Flow<List<CollaboratorItem>>
Link copied to clipboard
abstract suspend fun deleteCollaborator(collaboratorId: String)
Link copied to clipboard
abstract suspend fun deleteSharedLink(sharedLinkId: String)
Link copied to clipboard
abstract suspend fun editCollaborator(collaboratorId: String, permission: SharePermission): CollaboratorItem
Link copied to clipboard
abstract suspend fun editSharedLink(sharedLinkId: String, configuration: SharedLinkConfiguration): ShareOperationResult
Link copied to clipboard
abstract suspend fun fetchCollaborators(sharedLinkId: String)
Link copied to clipboard
abstract suspend fun getPublicSharedLink(sharedLinkId: String, password: String? = null): PublicShareSchema
Link copied to clipboard
abstract suspend fun getSharedLink(sharedLinkUrl: String): SharedLinkItem?
Link copied to clipboard
abstract suspend fun share(setShareLink: String, configuration: SharedLinkConfiguration): ShareOperationResult

Creates a shared link to the resource by the setShareLink with the specified configuration.