GetAvatarAssetUseCaseImpl
internal class GetAvatarAssetUseCaseImpl(assetDataSource: AssetRepository, userRepository: UserRepository) : GetAvatarAssetUseCase
Functions
Link copied to clipboard
open suspend operator override fun invoke(assetKey: <Error class: unknown class>): PublicAssetResult
Function that enables downloading a public asset by its asset-key, mostly used for avatar pictures Internally, if the asset doesn't exist locally, this will download it first and then return it