GetAvatarAssetUseCaseImpl

internal class GetAvatarAssetUseCaseImpl(assetDataSource: AssetRepository, userRepository: UserRepository) : GetAvatarAssetUseCase

Constructors

Link copied to clipboard
constructor(assetDataSource: AssetRepository, userRepository: UserRepository)

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