UploadUserAvatarUseCaseImpl

internal class UploadUserAvatarUseCaseImpl(userDataSource: UserRepository, assetDataSource: AssetRepository, dispatcher: KaliumDispatcherImpl = KaliumDispatcherImpl) : UploadUserAvatarUseCase

Constructors

Link copied to clipboard
constructor(userDataSource: UserRepository, assetDataSource: AssetRepository, dispatcher: KaliumDispatcherImpl = KaliumDispatcherImpl)

Functions

Link copied to clipboard
open suspend operator override fun invoke(imageDataPath: Path, imageDataSize: Long): UploadAvatarResult

Function allowing the upload of a user profile picture (avatar) This first will upload the data as an asset and then will link this asset with the User