AccountRepositoryImpl

internal class AccountRepositoryImpl(selfApi: <Error class: unknown class>, userDAO: <Error class: unknown class>, selfUserId: <Error class: unknown class>, availabilityStatusMapper: AvailabilityStatusMapper = MapperProvider.availabilityStatusMapper()) : AccountRepository

Constructors

Link copied to clipboard
constructor(selfApi: <Error class: unknown class>, userDAO: <Error class: unknown class>, selfUserId: <Error class: unknown class>, availabilityStatusMapper: AvailabilityStatusMapper = MapperProvider.availabilityStatusMapper())

Functions

Link copied to clipboard
open suspend override fun deleteAccount(password: String?): Either<NetworkFailure, Unit>
Link copied to clipboard
open suspend override fun updateLocalSelfUserHandle(handle: String): <Error class: unknown class>
Link copied to clipboard
open suspend override fun updateSelfDisplayName(displayName: String): Either<CoreFailure, Unit>
Link copied to clipboard
open suspend override fun updateSelfEmail(email: String): Either<NetworkFailure, Boolean>

Updates the self user's email address.

Link copied to clipboard
open suspend override fun updateSelfHandle(handle: String): Either<NetworkFailure, Unit>
Link copied to clipboard
open suspend override fun updateSelfUserAvailabilityStatus(status: <Error class: unknown class>): <Error class: unknown class>