DefaultProfileImageService
Default ProfileImageService implementation.
class DefaultProfileImageService(userRepository: UserRepository) : ProfileImageService
Content copied to clipboard
Constructors
<init>
Link copied to clipboard
Functions
deleteProfileImageByUserId
Link copied to clipboard
open suspend override fun deleteProfileImageByUserId(userId: String): Result<String>
Content copied to clipboard
equals
Link copied to clipboard
getProfileImageByUserId
Link copied to clipboard
open suspend override fun getProfileImageByUserId(userId: String): Result<ProfileImage>
Content copied to clipboard
getProfileImageTimestampByUserId
Link copied to clipboard
open suspend override fun getProfileImageTimestampByUserId(userId: String): Result<Long>
Content copied to clipboard
saveProfileImageForUser
Link copied to clipboard
open suspend override fun saveProfileImageForUser(userId: String, image: String): Result<String>
Content copied to clipboard