UploadUserAvatarUseCaseImpl
internal class UploadUserAvatarUseCaseImpl(userDataSource: UserRepository, assetDataSource: AssetRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl) : UploadUserAvatarUseCase
Constructors
Link copied to clipboard
constructor(userDataSource: UserRepository, assetDataSource: AssetRepository, dispatcher: <Error class: unknown class> = KaliumDispatcherImpl)
Functions
Link copied to clipboard
open suspend operator override fun invoke(imageDataPath: <Error class: unknown class>, 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