//woua-matrimony-sdk/com.woualabs.matrimony.user.repository/UserRepository
UserRepository
[common]\
interface UserRepository
Functions
Name |
Summary |
action |
[common] abstract suspend fun action(actionType: ActionType, userKey: String): HandlerResult<Result, WouaSDKException> |
changeAppLanguage |
[common] abstract fun changeAppLanguage(value: String) |
changeLanguage |
[common] abstract suspend fun changeLanguage(appLanguageId: String): HandlerResult<Result, WouaSDKException> |
collectionView |
[common] abstract suspend fun collectionView(): HandlerResult<CollectionRecord, WouaSDKException> |
fetchAppLanguageId |
[common] abstract fun fetchAppLanguageId(): String |
filter |
[common] abstract suspend fun filter(filterDetails: FilterDetails, page: Int, size: Int): HandlerResult<List<UserRecord>, WouaSDKException> |
getUserProfiles |
[common] abstract suspend fun getUserProfiles(subId: Int, page: Int, size: Int, discoverType: DiscoverType?): HandlerResult<List<UserRecord>, WouaSDKException> |
isLoggedIn |
[common] abstract fun isLoggedIn(): Boolean |
profileViewWithPagination |
[common] abstract suspend fun profileViewWithPagination(page: Int, size: Int): HandlerResult<List<UserRecord>, WouaSDKException> |
reportProfile |
[common] abstract suspend fun reportProfile(report: String, userKey: String): HandlerResult<Result, WouaSDKException> |
search |
[common] abstract suspend fun search(searchType: SearchType, searchText: String, page: Int, size: Int): HandlerResult<List<UserRecord>, WouaSDKException> |
setLoggedIn |
[common] abstract fun setLoggedIn(value: Boolean) |
userActivity |
[common] abstract suspend fun userActivity(actionType: ActionType, activityType: ActivityType): HandlerResult<List<UserRecord>, WouaSDKException> |
userProfile |
[common] abstract suspend fun userProfile(): HandlerResult<UserRecord, WouaSDKException> abstract suspend fun userProfile(key: String): HandlerResult<UserRecord, WouaSDKException> |